Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type FindGroupReq
- func (*FindGroupReq) Descriptor() ([]byte, []int)
- func (m *FindGroupReq) GetGid() []byte
- func (m *FindGroupReq) GetLimit() int32
- func (m *FindGroupReq) GetPaths() [][]byte
- func (m *FindGroupReq) GetTtl() int32
- func (m *FindGroupReq) Marshal() (dAtA []byte, err error)
- func (m *FindGroupReq) MarshalTo(dAtA []byte) (int, error)
- func (m *FindGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FindGroupReq) ProtoMessage()
- func (m *FindGroupReq) Reset()
- func (m *FindGroupReq) Size() (n int)
- func (m *FindGroupReq) String() string
- func (m *FindGroupReq) Unmarshal(dAtA []byte) error
- func (m *FindGroupReq) XXX_DiscardUnknown()
- func (m *FindGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindGroupReq) XXX_Merge(src proto.Message)
- func (m *FindGroupReq) XXX_Size() int
- func (m *FindGroupReq) XXX_Unmarshal(b []byte) error
- type FindGroupResp
- func (*FindGroupResp) Descriptor() ([]byte, []int)
- func (m *FindGroupResp) GetAddresses() [][]byte
- func (m *FindGroupResp) Marshal() (dAtA []byte, err error)
- func (m *FindGroupResp) MarshalTo(dAtA []byte) (int, error)
- func (m *FindGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FindGroupResp) ProtoMessage()
- func (m *FindGroupResp) Reset()
- func (m *FindGroupResp) Size() (n int)
- func (m *FindGroupResp) String() string
- func (m *FindGroupResp) Unmarshal(dAtA []byte) error
- func (m *FindGroupResp) XXX_DiscardUnknown()
- func (m *FindGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindGroupResp) XXX_Merge(src proto.Message)
- func (m *FindGroupResp) XXX_Size() int
- func (m *FindGroupResp) XXX_Unmarshal(b []byte) error
- type GIDs
- func (*GIDs) Descriptor() ([]byte, []int)
- func (m *GIDs) GetGid() [][]byte
- func (m *GIDs) Marshal() (dAtA []byte, err error)
- func (m *GIDs) MarshalTo(dAtA []byte) (int, error)
- func (m *GIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GIDs) ProtoMessage()
- func (m *GIDs) Reset()
- func (m *GIDs) Size() (n int)
- func (m *GIDs) String() string
- func (m *GIDs) Unmarshal(dAtA []byte) error
- func (m *GIDs) XXX_DiscardUnknown()
- func (m *GIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GIDs) XXX_Merge(src proto.Message)
- func (m *GIDs) XXX_Size() int
- func (m *GIDs) XXX_Unmarshal(b []byte) error
- type GroupMsg
- func (*GroupMsg) Descriptor() ([]byte, []int)
- func (m *GroupMsg) GetData() []byte
- func (m *GroupMsg) GetErr() string
- func (m *GroupMsg) GetGid() []byte
- func (m *GroupMsg) GetType() int32
- func (m *GroupMsg) Marshal() (dAtA []byte, err error)
- func (m *GroupMsg) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupMsg) ProtoMessage()
- func (m *GroupMsg) Reset()
- func (m *GroupMsg) Size() (n int)
- func (m *GroupMsg) String() string
- func (m *GroupMsg) Unmarshal(dAtA []byte) error
- func (m *GroupMsg) XXX_DiscardUnknown()
- func (m *GroupMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupMsg) XXX_Merge(src proto.Message)
- func (m *GroupMsg) XXX_Size() int
- func (m *GroupMsg) XXX_Unmarshal(b []byte) error
- type MulticastMsg
- func (*MulticastMsg) Descriptor() ([]byte, []int)
- func (m *MulticastMsg) GetCreateTime() int64
- func (m *MulticastMsg) GetData() []byte
- func (m *MulticastMsg) GetGid() []byte
- func (m *MulticastMsg) GetId() uint64
- func (m *MulticastMsg) GetOrigin() []byte
- func (m *MulticastMsg) Marshal() (dAtA []byte, err error)
- func (m *MulticastMsg) MarshalTo(dAtA []byte) (int, error)
- func (m *MulticastMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MulticastMsg) ProtoMessage()
- func (m *MulticastMsg) Reset()
- func (m *MulticastMsg) Size() (n int)
- func (m *MulticastMsg) String() string
- func (m *MulticastMsg) Unmarshal(dAtA []byte) error
- func (m *MulticastMsg) XXX_DiscardUnknown()
- func (m *MulticastMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MulticastMsg) XXX_Merge(src proto.Message)
- func (m *MulticastMsg) XXX_Size() int
- func (m *MulticastMsg) XXX_Unmarshal(b []byte) error
- type Notify
- func (*Notify) Descriptor() ([]byte, []int)
- func (m *Notify) GetGids() [][]byte
- func (m *Notify) GetStatus() int32
- func (m *Notify) Marshal() (dAtA []byte, err error)
- func (m *Notify) MarshalTo(dAtA []byte) (int, error)
- func (m *Notify) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Notify) ProtoMessage()
- func (m *Notify) Reset()
- func (m *Notify) Size() (n int)
- func (m *Notify) String() string
- func (m *Notify) Unmarshal(dAtA []byte) error
- func (m *Notify) XXX_DiscardUnknown()
- func (m *Notify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Notify) XXX_Merge(src proto.Message)
- func (m *Notify) XXX_Size() int
- func (m *Notify) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FindGroupReq ¶
type FindGroupReq struct { Gid []byte `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Ttl int32 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` }
func (*FindGroupReq) Descriptor ¶
func (*FindGroupReq) Descriptor() ([]byte, []int)
func (*FindGroupReq) GetGid ¶
func (m *FindGroupReq) GetGid() []byte
func (*FindGroupReq) GetLimit ¶
func (m *FindGroupReq) GetLimit() int32
func (*FindGroupReq) GetPaths ¶
func (m *FindGroupReq) GetPaths() [][]byte
func (*FindGroupReq) GetTtl ¶
func (m *FindGroupReq) GetTtl() int32
func (*FindGroupReq) Marshal ¶
func (m *FindGroupReq) Marshal() (dAtA []byte, err error)
func (*FindGroupReq) MarshalToSizedBuffer ¶
func (m *FindGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FindGroupReq) ProtoMessage ¶
func (*FindGroupReq) ProtoMessage()
func (*FindGroupReq) Reset ¶
func (m *FindGroupReq) Reset()
func (*FindGroupReq) Size ¶
func (m *FindGroupReq) Size() (n int)
func (*FindGroupReq) String ¶
func (m *FindGroupReq) String() string
func (*FindGroupReq) Unmarshal ¶
func (m *FindGroupReq) Unmarshal(dAtA []byte) error
func (*FindGroupReq) XXX_DiscardUnknown ¶
func (m *FindGroupReq) XXX_DiscardUnknown()
func (*FindGroupReq) XXX_Marshal ¶
func (m *FindGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindGroupReq) XXX_Merge ¶
func (m *FindGroupReq) XXX_Merge(src proto.Message)
func (*FindGroupReq) XXX_Size ¶
func (m *FindGroupReq) XXX_Size() int
func (*FindGroupReq) XXX_Unmarshal ¶
func (m *FindGroupReq) XXX_Unmarshal(b []byte) error
type FindGroupResp ¶
type FindGroupResp struct {
Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
func (*FindGroupResp) Descriptor ¶
func (*FindGroupResp) Descriptor() ([]byte, []int)
func (*FindGroupResp) GetAddresses ¶
func (m *FindGroupResp) GetAddresses() [][]byte
func (*FindGroupResp) Marshal ¶
func (m *FindGroupResp) Marshal() (dAtA []byte, err error)
func (*FindGroupResp) MarshalToSizedBuffer ¶
func (m *FindGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FindGroupResp) ProtoMessage ¶
func (*FindGroupResp) ProtoMessage()
func (*FindGroupResp) Reset ¶
func (m *FindGroupResp) Reset()
func (*FindGroupResp) Size ¶
func (m *FindGroupResp) Size() (n int)
func (*FindGroupResp) String ¶
func (m *FindGroupResp) String() string
func (*FindGroupResp) Unmarshal ¶
func (m *FindGroupResp) Unmarshal(dAtA []byte) error
func (*FindGroupResp) XXX_DiscardUnknown ¶
func (m *FindGroupResp) XXX_DiscardUnknown()
func (*FindGroupResp) XXX_Marshal ¶
func (m *FindGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindGroupResp) XXX_Merge ¶
func (m *FindGroupResp) XXX_Merge(src proto.Message)
func (*FindGroupResp) XXX_Size ¶
func (m *FindGroupResp) XXX_Size() int
func (*FindGroupResp) XXX_Unmarshal ¶
func (m *FindGroupResp) XXX_Unmarshal(b []byte) error
type GIDs ¶
type GIDs struct {
Gid [][]byte `protobuf:"bytes,1,rep,name=gid,proto3" json:"gid,omitempty"`
}
func (*GIDs) Descriptor ¶
func (*GIDs) ProtoMessage ¶
func (*GIDs) ProtoMessage()
func (*GIDs) XXX_DiscardUnknown ¶
func (m *GIDs) XXX_DiscardUnknown()
func (*GIDs) XXX_Unmarshal ¶
type GroupMsg ¶ added in v1.3.0
type GroupMsg struct { Gid []byte `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` Err string `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"` }
func (*GroupMsg) Descriptor ¶ added in v1.3.0
func (*GroupMsg) MarshalToSizedBuffer ¶ added in v1.3.0
func (*GroupMsg) ProtoMessage ¶ added in v1.3.0
func (*GroupMsg) ProtoMessage()
func (*GroupMsg) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *GroupMsg) XXX_DiscardUnknown()
func (*GroupMsg) XXX_Marshal ¶ added in v1.3.0
func (*GroupMsg) XXX_Unmarshal ¶ added in v1.3.0
type MulticastMsg ¶
type MulticastMsg struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"` Origin []byte `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` Gid []byte `protobuf:"bytes,4,opt,name=gid,proto3" json:"gid,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` }
func (*MulticastMsg) Descriptor ¶
func (*MulticastMsg) Descriptor() ([]byte, []int)
func (*MulticastMsg) GetCreateTime ¶
func (m *MulticastMsg) GetCreateTime() int64
func (*MulticastMsg) GetData ¶
func (m *MulticastMsg) GetData() []byte
func (*MulticastMsg) GetGid ¶
func (m *MulticastMsg) GetGid() []byte
func (*MulticastMsg) GetId ¶
func (m *MulticastMsg) GetId() uint64
func (*MulticastMsg) GetOrigin ¶
func (m *MulticastMsg) GetOrigin() []byte
func (*MulticastMsg) Marshal ¶
func (m *MulticastMsg) Marshal() (dAtA []byte, err error)
func (*MulticastMsg) MarshalToSizedBuffer ¶
func (m *MulticastMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MulticastMsg) ProtoMessage ¶
func (*MulticastMsg) ProtoMessage()
func (*MulticastMsg) Reset ¶
func (m *MulticastMsg) Reset()
func (*MulticastMsg) Size ¶
func (m *MulticastMsg) Size() (n int)
func (*MulticastMsg) String ¶
func (m *MulticastMsg) String() string
func (*MulticastMsg) Unmarshal ¶
func (m *MulticastMsg) Unmarshal(dAtA []byte) error
func (*MulticastMsg) XXX_DiscardUnknown ¶
func (m *MulticastMsg) XXX_DiscardUnknown()
func (*MulticastMsg) XXX_Marshal ¶
func (m *MulticastMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MulticastMsg) XXX_Merge ¶
func (m *MulticastMsg) XXX_Merge(src proto.Message)
func (*MulticastMsg) XXX_Size ¶
func (m *MulticastMsg) XXX_Size() int
func (*MulticastMsg) XXX_Unmarshal ¶
func (m *MulticastMsg) XXX_Unmarshal(b []byte) error
type Notify ¶
type Notify struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Gids [][]byte `protobuf:"bytes,2,rep,name=gids,proto3" json:"gids,omitempty"` }
func (*Notify) Descriptor ¶
func (*Notify) MarshalToSizedBuffer ¶
func (*Notify) ProtoMessage ¶
func (*Notify) ProtoMessage()
func (*Notify) XXX_DiscardUnknown ¶
func (m *Notify) XXX_DiscardUnknown()
func (*Notify) XXX_Marshal ¶
func (*Notify) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.