Documentation ¶
Overview ¶
Package agent is a generated protocol buffer package.
It is generated from these files:
agent.proto
It has these top-level messages:
Agent Agents
Index ¶
- Variables
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)
- func (m *Agent) GetInnerGw() string
- func (m *Agent) GetIsOffline() bool
- func (m *Agent) GetOnlineAt() int64
- func (m *Agent) GetSalt() uint64
- func (m *Agent) GetSessionId() string
- func (m *Agent) Marshal() (dAtA []byte, err error)
- func (m *Agent) MarshalTo(dAtA []byte) (int, error)
- func (*Agent) ProtoMessage()
- func (m *Agent) Reset()
- func (m *Agent) Size() (n int)
- func (m *Agent) String() string
- func (m *Agent) Unmarshal(dAtA []byte) error
- type Agents
- func (*Agents) Descriptor() ([]byte, []int)
- func (m *Agents) GetAgents() []*Agent
- func (m *Agents) Marshal() (dAtA []byte, err error)
- func (m *Agents) MarshalTo(dAtA []byte) (int, error)
- func (*Agents) ProtoMessage()
- func (m *Agents) Reset()
- func (m *Agents) Size() (n int)
- func (m *Agents) String() string
- func (m *Agents) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAgent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAgent = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` InnerGw string `protobuf:"bytes,2,opt,name=inner_gw,json=innerGw,proto3" json:"inner_gw,omitempty"` OnlineAt int64 `protobuf:"varint,3,opt,name=online_at,json=onlineAt,proto3" json:"online_at,omitempty"` IsOffline bool `protobuf:"varint,4,opt,name=is_offline,json=isOffline,proto3" json:"is_offline,omitempty"` Salt uint64 `protobuf:"varint,5,opt,name=salt,proto3" json:"salt,omitempty"` }
func (*Agent) Descriptor ¶
func (*Agent) GetInnerGw ¶
func (*Agent) GetIsOffline ¶
func (*Agent) GetOnlineAt ¶
func (*Agent) GetSessionId ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
type Agents ¶
type Agents struct {
Agents []*Agent `protobuf:"bytes,1,rep,name=agents" json:"agents,omitempty"`
}
func (*Agents) Descriptor ¶
func (*Agents) ProtoMessage ¶
func (*Agents) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.