basic change for godoc

This commit is contained in:
Lei Xue
2016-11-27 13:31:43 +08:00
parent c5f96b7af4
commit bd7193880e
13 changed files with 59 additions and 30 deletions

View File

@@ -177,8 +177,10 @@ type SCSICommand struct {
}
type ITNexus struct {
ID uuid.UUID `json:"id"` /*UUIDv1*/
Tag string `json:"Tag"` /*For protocal spec identifer*/
// UUID v1
ID uuid.UUID `json:"id"`
// For protocal spec identifer
Tag string `json:"Tag"`
}
type ITNexusLuInfo struct {
@@ -346,13 +348,17 @@ type SCSIDeviceProtocol interface {
ExitLu(lu *SCSILu) error
}
type ModePage struct {
Pcode uint8 // Page code
SubPcode uint8 // Sub page code
Data []byte // Rest of mode page info
// Page code
PageCode uint8
// Sub page code
SubPageCode uint8
// Rest of mode page info
Data []byte
}
type SCSIReservation struct {
ID uuid.UUID //Internal Reservation ID
// Internal reservation ID
ID uuid.UUID
Key uint64
ITNexusID uuid.UUID
Scope uint8