Documentation ¶
Index ¶
- Variables
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)
- func (this *Packet) Equal(that interface{}) bool
- func (m *Packet) GetData() []byte
- func (m *Packet) GetID() uint32
- func (m *Packet) GetStat() *Stat
- func (m *Packet) GetType() Packet_PacketType
- func (this *Packet) GoString() string
- func (m *Packet) Marshal() (dAtA []byte, err error)
- func (m *Packet) MarshalTo(dAtA []byte) (int, error)
- func (m *Packet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Packet) ProtoMessage()
- func (m *Packet) Reset()
- func (m *Packet) Size() (n int)
- func (this *Packet) String() string
- func (m *Packet) Unmarshal(dAtA []byte) error
- func (m *Packet) XXX_DiscardUnknown()
- func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Packet) XXX_Merge(src proto.Message)
- func (m *Packet) XXX_Size() int
- func (m *Packet) XXX_Unmarshal(b []byte) error
- type Packet_PacketType
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)
- func (this *Stat) Equal(that interface{}) bool
- func (m *Stat) GetDevmajor() int64
- func (m *Stat) GetDevminor() int64
- func (m *Stat) GetGid() uint32
- func (m *Stat) GetLinkname() string
- func (m *Stat) GetModTime() int64
- func (m *Stat) GetMode() uint32
- func (m *Stat) GetPath() string
- func (m *Stat) GetSize_() int64
- func (m *Stat) GetUid() uint32
- func (m *Stat) GetXattrs() map[string][]byte
- func (this *Stat) GoString() string
- func (s Stat) IsDir() bool
- func (m *Stat) Marshal() (dAtA []byte, err error)
- func (m *Stat) MarshalTo(dAtA []byte) (int, error)
- func (m *Stat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stat) ProtoMessage()
- func (m *Stat) Reset()
- func (m *Stat) Size() (n int)
- func (this *Stat) String() string
- func (m *Stat) Unmarshal(dAtA []byte) error
- func (m *Stat) XXX_DiscardUnknown()
- func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stat) XXX_Merge(src proto.Message)
- func (m *Stat) XXX_Size() int
- func (m *Stat) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthStat = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStat = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStat = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthWire = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWire = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWire = fmt.Errorf("proto: unexpected end of group") )
View Source
var Packet_PacketType_name = map[int32]string{
0: "PACKET_STAT",
1: "PACKET_REQ",
2: "PACKET_DATA",
3: "PACKET_FIN",
4: "PACKET_ERR",
}
View Source
var Packet_PacketType_value = map[string]int32{
"PACKET_STAT": 0,
"PACKET_REQ": 1,
"PACKET_DATA": 2,
"PACKET_FIN": 3,
"PACKET_ERR": 4,
}
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Type Packet_PacketType `protobuf:"varint,1,opt,name=type,proto3,enum=fsutil.types.Packet_PacketType" json:"type,omitempty"` Stat *Stat `protobuf:"bytes,2,opt,name=stat,proto3" json:"stat,omitempty"` ID uint32 `protobuf:"varint,3,opt,name=ID,proto3" json:"ID,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*Packet) Descriptor ¶
func (*Packet) GetType ¶
func (m *Packet) GetType() Packet_PacketType
func (*Packet) MarshalToSizedBuffer ¶
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) XXX_DiscardUnknown ¶
func (m *Packet) XXX_DiscardUnknown()
func (*Packet) XXX_Marshal ¶
func (*Packet) XXX_Unmarshal ¶
type Packet_PacketType ¶
type Packet_PacketType int32
const ( PACKET_STAT Packet_PacketType = 0 PACKET_REQ Packet_PacketType = 1 PACKET_DATA Packet_PacketType = 2 PACKET_FIN Packet_PacketType = 3 PACKET_ERR Packet_PacketType = 4 )
func (Packet_PacketType) EnumDescriptor ¶
func (Packet_PacketType) EnumDescriptor() ([]byte, []int)
func (Packet_PacketType) String ¶
func (x Packet_PacketType) String() string
type Stat ¶
type Stat struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` Size_ int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` ModTime int64 `protobuf:"varint,6,opt,name=modTime,proto3" json:"modTime,omitempty"` // int32 typeflag = 7; Linkname string `protobuf:"bytes,7,opt,name=linkname,proto3" json:"linkname,omitempty"` Devmajor int64 `protobuf:"varint,8,opt,name=devmajor,proto3" json:"devmajor,omitempty"` Devminor int64 `protobuf:"varint,9,opt,name=devminor,proto3" json:"devminor,omitempty"` Xattrs map[string][]byte `` /* 154-byte string literal not displayed */ }
func (*Stat) Descriptor ¶
func (*Stat) GetDevmajor ¶
func (*Stat) GetDevminor ¶
func (*Stat) GetLinkname ¶
func (*Stat) GetModTime ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) XXX_DiscardUnknown ¶
func (m *Stat) XXX_DiscardUnknown()
func (*Stat) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.