Documentation ¶
Index ¶
- Variables
- type CL5_CMD
- type Cl5IpcList
- func (*Cl5IpcList) Descriptor() ([]byte, []int)
- func (m *Cl5IpcList) GetIpc() []*Cl5IpcObj
- func (*Cl5IpcList) ProtoMessage()
- func (m *Cl5IpcList) Reset()
- func (m *Cl5IpcList) String() string
- func (m *Cl5IpcList) XXX_DiscardUnknown()
- func (m *Cl5IpcList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5IpcList) XXX_Merge(src proto.Message)
- func (m *Cl5IpcList) XXX_Size() int
- func (m *Cl5IpcList) XXX_Unmarshal(b []byte) error
- type Cl5IpcObj
- func (*Cl5IpcObj) Descriptor() ([]byte, []int)
- func (m *Cl5IpcObj) GetAreaId() int32
- func (m *Cl5IpcObj) GetCityId() int32
- func (m *Cl5IpcObj) GetIdcId() int32
- func (m *Cl5IpcObj) GetIp() int32
- func (*Cl5IpcObj) ProtoMessage()
- func (m *Cl5IpcObj) Reset()
- func (m *Cl5IpcObj) String() string
- func (m *Cl5IpcObj) XXX_DiscardUnknown()
- func (m *Cl5IpcObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5IpcObj) XXX_Merge(src proto.Message)
- func (m *Cl5IpcObj) XXX_Size() int
- func (m *Cl5IpcObj) XXX_Unmarshal(b []byte) error
- type Cl5L5SvrList
- func (*Cl5L5SvrList) Descriptor() ([]byte, []int)
- func (m *Cl5L5SvrList) GetIp() []int32
- func (*Cl5L5SvrList) ProtoMessage()
- func (m *Cl5L5SvrList) Reset()
- func (m *Cl5L5SvrList) String() string
- func (m *Cl5L5SvrList) XXX_DiscardUnknown()
- func (m *Cl5L5SvrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5L5SvrList) XXX_Merge(src proto.Message)
- func (m *Cl5L5SvrList) XXX_Size() int
- func (m *Cl5L5SvrList) XXX_Unmarshal(b []byte) error
- type Cl5NameList
- func (*Cl5NameList) Descriptor() ([]byte, []int)
- func (m *Cl5NameList) GetName() []string
- func (*Cl5NameList) ProtoMessage()
- func (m *Cl5NameList) Reset()
- func (m *Cl5NameList) String() string
- func (m *Cl5NameList) XXX_DiscardUnknown()
- func (m *Cl5NameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5NameList) XXX_Merge(src proto.Message)
- func (m *Cl5NameList) XXX_Size() int
- func (m *Cl5NameList) XXX_Unmarshal(b []byte) error
- type Cl5OptList
- func (*Cl5OptList) Descriptor() ([]byte, []int)
- func (m *Cl5OptList) GetOpt() []*Cl5OptObj
- func (*Cl5OptList) ProtoMessage()
- func (m *Cl5OptList) Reset()
- func (m *Cl5OptList) String() string
- func (m *Cl5OptList) XXX_DiscardUnknown()
- func (m *Cl5OptList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5OptList) XXX_Merge(src proto.Message)
- func (m *Cl5OptList) XXX_Size() int
- func (m *Cl5OptList) XXX_Unmarshal(b []byte) error
- type Cl5OptObj
- func (*Cl5OptObj) Descriptor() ([]byte, []int)
- func (m *Cl5OptObj) GetCmdId() int32
- func (m *Cl5OptObj) GetModId() int32
- func (*Cl5OptObj) ProtoMessage()
- func (m *Cl5OptObj) Reset()
- func (m *Cl5OptObj) String() string
- func (m *Cl5OptObj) XXX_DiscardUnknown()
- func (m *Cl5OptObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5OptObj) XXX_Merge(src proto.Message)
- func (m *Cl5OptObj) XXX_Size() int
- func (m *Cl5OptObj) XXX_Unmarshal(b []byte) error
- type Cl5Pkg
- func (*Cl5Pkg) Descriptor() ([]byte, []int)
- func (m *Cl5Pkg) GetCmd() int32
- func (m *Cl5Pkg) GetError() string
- func (m *Cl5Pkg) GetIp() int32
- func (m *Cl5Pkg) GetRegisterByIdAckCmd() *Cl5RegisterByIdAckCmd
- func (m *Cl5Pkg) GetRegisterByIdCmd() *Cl5RegisterByIdCmd
- func (m *Cl5Pkg) GetRegisterByNameAckCmd() *Cl5RegisterByNameAckCmd
- func (m *Cl5Pkg) GetRegisterByNameCmd() *Cl5RegisterByNameCmd
- func (m *Cl5Pkg) GetResult() int32
- func (m *Cl5Pkg) GetSeqno() int32
- func (m *Cl5Pkg) GetSyncByAgentAckCmd() *Cl5SyncByAgentAckCmd
- func (m *Cl5Pkg) GetSyncByAgentCmd() *Cl5SyncByAgentCmd
- func (*Cl5Pkg) ProtoMessage()
- func (m *Cl5Pkg) Reset()
- func (m *Cl5Pkg) String() string
- func (m *Cl5Pkg) XXX_DiscardUnknown()
- func (m *Cl5Pkg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5Pkg) XXX_Merge(src proto.Message)
- func (m *Cl5Pkg) XXX_Size() int
- func (m *Cl5Pkg) XXX_Unmarshal(b []byte) error
- type Cl5PolyObj
- func (*Cl5PolyObj) Descriptor() ([]byte, []int)
- func (m *Cl5PolyObj) GetDiv() int32
- func (m *Cl5PolyObj) GetMod() int32
- func (m *Cl5PolyObj) GetModId() int32
- func (*Cl5PolyObj) ProtoMessage()
- func (m *Cl5PolyObj) Reset()
- func (m *Cl5PolyObj) String() string
- func (m *Cl5PolyObj) XXX_DiscardUnknown()
- func (m *Cl5PolyObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5PolyObj) XXX_Merge(src proto.Message)
- func (m *Cl5PolyObj) XXX_Size() int
- func (m *Cl5PolyObj) XXX_Unmarshal(b []byte) error
- type Cl5RegisterByIdAckCmd
- func (*Cl5RegisterByIdAckCmd) Descriptor() ([]byte, []int)
- func (m *Cl5RegisterByIdAckCmd) GetCallerIp() int32
- func (m *Cl5RegisterByIdAckCmd) GetIpcList() *Cl5IpcList
- func (m *Cl5RegisterByIdAckCmd) GetServList() *Cl5ServList
- func (m *Cl5RegisterByIdAckCmd) GetSidList() *Cl5SidList
- func (*Cl5RegisterByIdAckCmd) ProtoMessage()
- func (m *Cl5RegisterByIdAckCmd) Reset()
- func (m *Cl5RegisterByIdAckCmd) String() string
- func (m *Cl5RegisterByIdAckCmd) XXX_DiscardUnknown()
- func (m *Cl5RegisterByIdAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5RegisterByIdAckCmd) XXX_Merge(src proto.Message)
- func (m *Cl5RegisterByIdAckCmd) XXX_Size() int
- func (m *Cl5RegisterByIdAckCmd) XXX_Unmarshal(b []byte) error
- type Cl5RegisterByIdCmd
- func (*Cl5RegisterByIdCmd) Descriptor() ([]byte, []int)
- func (m *Cl5RegisterByIdCmd) GetCallerIp() int32
- func (m *Cl5RegisterByIdCmd) GetOptList() *Cl5OptList
- func (*Cl5RegisterByIdCmd) ProtoMessage()
- func (m *Cl5RegisterByIdCmd) Reset()
- func (m *Cl5RegisterByIdCmd) String() string
- func (m *Cl5RegisterByIdCmd) XXX_DiscardUnknown()
- func (m *Cl5RegisterByIdCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5RegisterByIdCmd) XXX_Merge(src proto.Message)
- func (m *Cl5RegisterByIdCmd) XXX_Size() int
- func (m *Cl5RegisterByIdCmd) XXX_Unmarshal(b []byte) error
- type Cl5RegisterByNameAckCmd
- func (*Cl5RegisterByNameAckCmd) Descriptor() ([]byte, []int)
- func (m *Cl5RegisterByNameAckCmd) GetCallerIp() int32
- func (m *Cl5RegisterByNameAckCmd) GetIpcList() *Cl5IpcList
- func (m *Cl5RegisterByNameAckCmd) GetServList() *Cl5ServList
- func (m *Cl5RegisterByNameAckCmd) GetSidList() *Cl5SidList
- func (*Cl5RegisterByNameAckCmd) ProtoMessage()
- func (m *Cl5RegisterByNameAckCmd) Reset()
- func (m *Cl5RegisterByNameAckCmd) String() string
- func (m *Cl5RegisterByNameAckCmd) XXX_DiscardUnknown()
- func (m *Cl5RegisterByNameAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5RegisterByNameAckCmd) XXX_Merge(src proto.Message)
- func (m *Cl5RegisterByNameAckCmd) XXX_Size() int
- func (m *Cl5RegisterByNameAckCmd) XXX_Unmarshal(b []byte) error
- type Cl5RegisterByNameCmd
- func (*Cl5RegisterByNameCmd) Descriptor() ([]byte, []int)
- func (m *Cl5RegisterByNameCmd) GetCallerIp() int32
- func (m *Cl5RegisterByNameCmd) GetNameList() *Cl5NameList
- func (*Cl5RegisterByNameCmd) ProtoMessage()
- func (m *Cl5RegisterByNameCmd) Reset()
- func (m *Cl5RegisterByNameCmd) String() string
- func (m *Cl5RegisterByNameCmd) XXX_DiscardUnknown()
- func (m *Cl5RegisterByNameCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5RegisterByNameCmd) XXX_Merge(src proto.Message)
- func (m *Cl5RegisterByNameCmd) XXX_Size() int
- func (m *Cl5RegisterByNameCmd) XXX_Unmarshal(b []byte) error
- type Cl5RuleList
- func (*Cl5RuleList) Descriptor() ([]byte, []int)
- func (m *Cl5RuleList) GetPoly() []*Cl5PolyObj
- func (m *Cl5RuleList) GetSect() []*Cl5SectObj
- func (*Cl5RuleList) ProtoMessage()
- func (m *Cl5RuleList) Reset()
- func (m *Cl5RuleList) String() string
- func (m *Cl5RuleList) XXX_DiscardUnknown()
- func (m *Cl5RuleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5RuleList) XXX_Merge(src proto.Message)
- func (m *Cl5RuleList) XXX_Size() int
- func (m *Cl5RuleList) XXX_Unmarshal(b []byte) error
- type Cl5SectObj
- func (*Cl5SectObj) Descriptor() ([]byte, []int)
- func (m *Cl5SectObj) GetCmdId() int32
- func (m *Cl5SectObj) GetFrom() int32
- func (m *Cl5SectObj) GetModId() int32
- func (m *Cl5SectObj) GetTo() int32
- func (*Cl5SectObj) ProtoMessage()
- func (m *Cl5SectObj) Reset()
- func (m *Cl5SectObj) String() string
- func (m *Cl5SectObj) XXX_DiscardUnknown()
- func (m *Cl5SectObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5SectObj) XXX_Merge(src proto.Message)
- func (m *Cl5SectObj) XXX_Size() int
- func (m *Cl5SectObj) XXX_Unmarshal(b []byte) error
- type Cl5ServList
- func (*Cl5ServList) Descriptor() ([]byte, []int)
- func (m *Cl5ServList) GetServ() []*Cl5ServObj
- func (*Cl5ServList) ProtoMessage()
- func (m *Cl5ServList) Reset()
- func (m *Cl5ServList) String() string
- func (m *Cl5ServList) XXX_DiscardUnknown()
- func (m *Cl5ServList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5ServList) XXX_Merge(src proto.Message)
- func (m *Cl5ServList) XXX_Size() int
- func (m *Cl5ServList) XXX_Unmarshal(b []byte) error
- type Cl5ServObj
- func (*Cl5ServObj) Descriptor() ([]byte, []int)
- func (m *Cl5ServObj) GetCmdId() int32
- func (m *Cl5ServObj) GetIp() int32
- func (m *Cl5ServObj) GetModId() int32
- func (m *Cl5ServObj) GetPort() int32
- func (m *Cl5ServObj) GetWeight() int32
- func (*Cl5ServObj) ProtoMessage()
- func (m *Cl5ServObj) Reset()
- func (m *Cl5ServObj) String() string
- func (m *Cl5ServObj) XXX_DiscardUnknown()
- func (m *Cl5ServObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5ServObj) XXX_Merge(src proto.Message)
- func (m *Cl5ServObj) XXX_Size() int
- func (m *Cl5ServObj) XXX_Unmarshal(b []byte) error
- type Cl5SidList
- func (*Cl5SidList) Descriptor() ([]byte, []int)
- func (m *Cl5SidList) GetSid() []*Cl5SidObj
- func (*Cl5SidList) ProtoMessage()
- func (m *Cl5SidList) Reset()
- func (m *Cl5SidList) String() string
- func (m *Cl5SidList) XXX_DiscardUnknown()
- func (m *Cl5SidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5SidList) XXX_Merge(src proto.Message)
- func (m *Cl5SidList) XXX_Size() int
- func (m *Cl5SidList) XXX_Unmarshal(b []byte) error
- type Cl5SidObj
- func (*Cl5SidObj) Descriptor() ([]byte, []int)
- func (m *Cl5SidObj) GetCmdId() int32
- func (m *Cl5SidObj) GetModId() int32
- func (m *Cl5SidObj) GetName() string
- func (m *Cl5SidObj) GetPolicy() int32
- func (*Cl5SidObj) ProtoMessage()
- func (m *Cl5SidObj) Reset()
- func (m *Cl5SidObj) String() string
- func (m *Cl5SidObj) XXX_DiscardUnknown()
- func (m *Cl5SidObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5SidObj) XXX_Merge(src proto.Message)
- func (m *Cl5SidObj) XXX_Size() int
- func (m *Cl5SidObj) XXX_Unmarshal(b []byte) error
- type Cl5SyncByAgentAckCmd
- func (*Cl5SyncByAgentAckCmd) Descriptor() ([]byte, []int)
- func (m *Cl5SyncByAgentAckCmd) GetAgentIp() int32
- func (m *Cl5SyncByAgentAckCmd) GetIpcList() *Cl5IpcList
- func (m *Cl5SyncByAgentAckCmd) GetL5SvrList() *Cl5L5SvrList
- func (m *Cl5SyncByAgentAckCmd) GetRuleList() *Cl5RuleList
- func (m *Cl5SyncByAgentAckCmd) GetServList() *Cl5ServList
- func (m *Cl5SyncByAgentAckCmd) GetSidList() *Cl5SidList
- func (m *Cl5SyncByAgentAckCmd) GetSyncFlow() int32
- func (*Cl5SyncByAgentAckCmd) ProtoMessage()
- func (m *Cl5SyncByAgentAckCmd) Reset()
- func (m *Cl5SyncByAgentAckCmd) String() string
- func (m *Cl5SyncByAgentAckCmd) XXX_DiscardUnknown()
- func (m *Cl5SyncByAgentAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5SyncByAgentAckCmd) XXX_Merge(src proto.Message)
- func (m *Cl5SyncByAgentAckCmd) XXX_Size() int
- func (m *Cl5SyncByAgentAckCmd) XXX_Unmarshal(b []byte) error
- type Cl5SyncByAgentCmd
- func (*Cl5SyncByAgentCmd) Descriptor() ([]byte, []int)
- func (m *Cl5SyncByAgentCmd) GetAgentIp() int32
- func (m *Cl5SyncByAgentCmd) GetOptList() *Cl5OptList
- func (m *Cl5SyncByAgentCmd) GetSyncFlow() int32
- func (*Cl5SyncByAgentCmd) ProtoMessage()
- func (m *Cl5SyncByAgentCmd) Reset()
- func (m *Cl5SyncByAgentCmd) String() string
- func (m *Cl5SyncByAgentCmd) XXX_DiscardUnknown()
- func (m *Cl5SyncByAgentCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cl5SyncByAgentCmd) XXX_Merge(src proto.Message)
- func (m *Cl5SyncByAgentCmd) XXX_Size() int
- func (m *Cl5SyncByAgentCmd) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CL5_CMD_name = map[int32]string{
100: "CL5_SYNC_BY_AGENT_CMD",
101: "CL5_SYNC_BY_AGENT_ACK_CMD",
102: "CL5_REGISTER_BY_ID_CMD",
103: "CL5_REGISTER_BY_ID_ACK_CMD",
104: "CL5_REGISTER_BY_NAME_CMD",
105: "CL5_REGISTER_BY_NAME_ACK_CMD",
}
View Source
var CL5_CMD_value = map[string]int32{
"CL5_SYNC_BY_AGENT_CMD": 100,
"CL5_SYNC_BY_AGENT_ACK_CMD": 101,
"CL5_REGISTER_BY_ID_CMD": 102,
"CL5_REGISTER_BY_ID_ACK_CMD": 103,
"CL5_REGISTER_BY_NAME_CMD": 104,
"CL5_REGISTER_BY_NAME_ACK_CMD": 105,
}
Functions ¶
This section is empty.
Types ¶
type CL5_CMD ¶
type CL5_CMD int32
const ( // ------------------------------------------------ CL5_CMD_CL5_SYNC_BY_AGENT_CMD CL5_CMD = 100 CL5_CMD_CL5_SYNC_BY_AGENT_ACK_CMD CL5_CMD = 101 CL5_CMD_CL5_REGISTER_BY_ID_CMD CL5_CMD = 102 CL5_CMD_CL5_REGISTER_BY_ID_ACK_CMD CL5_CMD = 103 CL5_CMD_CL5_REGISTER_BY_NAME_CMD CL5_CMD = 104 CL5_CMD_CL5_REGISTER_BY_NAME_ACK_CMD CL5_CMD = 105 )
func (CL5_CMD) EnumDescriptor ¶
func (*CL5_CMD) UnmarshalJSON ¶
type Cl5IpcList ¶
type Cl5IpcList struct { Ipc []*Cl5IpcObj `protobuf:"bytes,1,rep,name=ipc" json:"ipc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IP配置信息列表
func (*Cl5IpcList) Descriptor ¶
func (*Cl5IpcList) Descriptor() ([]byte, []int)
func (*Cl5IpcList) GetIpc ¶
func (m *Cl5IpcList) GetIpc() []*Cl5IpcObj
func (*Cl5IpcList) ProtoMessage ¶
func (*Cl5IpcList) ProtoMessage()
func (*Cl5IpcList) Reset ¶
func (m *Cl5IpcList) Reset()
func (*Cl5IpcList) String ¶
func (m *Cl5IpcList) String() string
func (*Cl5IpcList) XXX_DiscardUnknown ¶
func (m *Cl5IpcList) XXX_DiscardUnknown()
func (*Cl5IpcList) XXX_Marshal ¶
func (m *Cl5IpcList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5IpcList) XXX_Merge ¶
func (dst *Cl5IpcList) XXX_Merge(src proto.Message)
func (*Cl5IpcList) XXX_Size ¶
func (m *Cl5IpcList) XXX_Size() int
func (*Cl5IpcList) XXX_Unmarshal ¶
func (m *Cl5IpcList) XXX_Unmarshal(b []byte) error
type Cl5IpcObj ¶
type Cl5IpcObj struct { Ip *int32 `protobuf:"varint,1,req,name=ip" json:"ip,omitempty"` AreaId *int32 `protobuf:"varint,2,req,name=area_id" json:"area_id,omitempty"` CityId *int32 `protobuf:"varint,3,req,name=city_id" json:"city_id,omitempty"` IdcId *int32 `protobuf:"varint,4,req,name=idc_id" json:"idc_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IP配置信息,用于实现就近访问。L5 server从表t_ip_config读取,由OSS从CMDB查询IP相关信息写入表中
func (*Cl5IpcObj) Descriptor ¶
func (*Cl5IpcObj) ProtoMessage ¶
func (*Cl5IpcObj) ProtoMessage()
func (*Cl5IpcObj) XXX_DiscardUnknown ¶
func (m *Cl5IpcObj) XXX_DiscardUnknown()
func (*Cl5IpcObj) XXX_Marshal ¶
func (*Cl5IpcObj) XXX_Unmarshal ¶
type Cl5L5SvrList ¶
type Cl5L5SvrList struct { Ip []int32 `protobuf:"varint,1,rep,name=ip" json:"ip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
l5 server列表,用于agent实现在连接l5 server失败时重试其他l5 server
func (*Cl5L5SvrList) Descriptor ¶
func (*Cl5L5SvrList) Descriptor() ([]byte, []int)
func (*Cl5L5SvrList) GetIp ¶
func (m *Cl5L5SvrList) GetIp() []int32
func (*Cl5L5SvrList) ProtoMessage ¶
func (*Cl5L5SvrList) ProtoMessage()
func (*Cl5L5SvrList) Reset ¶
func (m *Cl5L5SvrList) Reset()
func (*Cl5L5SvrList) String ¶
func (m *Cl5L5SvrList) String() string
func (*Cl5L5SvrList) XXX_DiscardUnknown ¶
func (m *Cl5L5SvrList) XXX_DiscardUnknown()
func (*Cl5L5SvrList) XXX_Marshal ¶
func (m *Cl5L5SvrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5L5SvrList) XXX_Merge ¶
func (dst *Cl5L5SvrList) XXX_Merge(src proto.Message)
func (*Cl5L5SvrList) XXX_Size ¶
func (m *Cl5L5SvrList) XXX_Size() int
func (*Cl5L5SvrList) XXX_Unmarshal ¶
func (m *Cl5L5SvrList) XXX_Unmarshal(b []byte) error
type Cl5NameList ¶
type Cl5NameList struct { Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sid名字列表,用于CL5_REGISTER_BY_NAME_CMD请求包
func (*Cl5NameList) Descriptor ¶
func (*Cl5NameList) Descriptor() ([]byte, []int)
func (*Cl5NameList) GetName ¶
func (m *Cl5NameList) GetName() []string
func (*Cl5NameList) ProtoMessage ¶
func (*Cl5NameList) ProtoMessage()
func (*Cl5NameList) Reset ¶
func (m *Cl5NameList) Reset()
func (*Cl5NameList) String ¶
func (m *Cl5NameList) String() string
func (*Cl5NameList) XXX_DiscardUnknown ¶
func (m *Cl5NameList) XXX_DiscardUnknown()
func (*Cl5NameList) XXX_Marshal ¶
func (m *Cl5NameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5NameList) XXX_Merge ¶
func (dst *Cl5NameList) XXX_Merge(src proto.Message)
func (*Cl5NameList) XXX_Size ¶
func (m *Cl5NameList) XXX_Size() int
func (*Cl5NameList) XXX_Unmarshal ¶
func (m *Cl5NameList) XXX_Unmarshal(b []byte) error
type Cl5OptList ¶
type Cl5OptList struct { Opt []*Cl5OptObj `protobuf:"bytes,1,rep,name=opt" json:"opt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sid列表,用于CL5_SYNC_BY_AGENT_CMD请求包
func (*Cl5OptList) Descriptor ¶
func (*Cl5OptList) Descriptor() ([]byte, []int)
func (*Cl5OptList) GetOpt ¶
func (m *Cl5OptList) GetOpt() []*Cl5OptObj
func (*Cl5OptList) ProtoMessage ¶
func (*Cl5OptList) ProtoMessage()
func (*Cl5OptList) Reset ¶
func (m *Cl5OptList) Reset()
func (*Cl5OptList) String ¶
func (m *Cl5OptList) String() string
func (*Cl5OptList) XXX_DiscardUnknown ¶
func (m *Cl5OptList) XXX_DiscardUnknown()
func (*Cl5OptList) XXX_Marshal ¶
func (m *Cl5OptList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5OptList) XXX_Merge ¶
func (dst *Cl5OptList) XXX_Merge(src proto.Message)
func (*Cl5OptList) XXX_Size ¶
func (m *Cl5OptList) XXX_Size() int
func (*Cl5OptList) XXX_Unmarshal ¶
func (m *Cl5OptList) XXX_Unmarshal(b []byte) error
type Cl5OptObj ¶
type Cl5OptObj struct { ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sid
func (*Cl5OptObj) Descriptor ¶
func (*Cl5OptObj) ProtoMessage ¶
func (*Cl5OptObj) ProtoMessage()
func (*Cl5OptObj) XXX_DiscardUnknown ¶
func (m *Cl5OptObj) XXX_DiscardUnknown()
func (*Cl5OptObj) XXX_Marshal ¶
func (*Cl5OptObj) XXX_Unmarshal ¶
type Cl5Pkg ¶
type Cl5Pkg struct { Seqno *int32 `protobuf:"varint,1,req,name=seqno" json:"seqno,omitempty"` Cmd *int32 `protobuf:"varint,2,req,name=cmd" json:"cmd,omitempty"` Result *int32 `protobuf:"varint,3,opt,name=result" json:"result,omitempty"` Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` Ip *int32 `protobuf:"varint,5,opt,name=ip" json:"ip,omitempty"` SyncByAgentCmd *Cl5SyncByAgentCmd `protobuf:"bytes,10,opt,name=sync_by_agent_cmd" json:"sync_by_agent_cmd,omitempty"` SyncByAgentAckCmd *Cl5SyncByAgentAckCmd `protobuf:"bytes,11,opt,name=sync_by_agent_ack_cmd" json:"sync_by_agent_ack_cmd,omitempty"` RegisterByIdCmd *Cl5RegisterByIdCmd `protobuf:"bytes,12,opt,name=register_by_id_cmd" json:"register_by_id_cmd,omitempty"` RegisterByIdAckCmd *Cl5RegisterByIdAckCmd `protobuf:"bytes,13,opt,name=register_by_id_ack_cmd" json:"register_by_id_ack_cmd,omitempty"` RegisterByNameCmd *Cl5RegisterByNameCmd `protobuf:"bytes,14,opt,name=register_by_name_cmd" json:"register_by_name_cmd,omitempty"` RegisterByNameAckCmd *Cl5RegisterByNameAckCmd `protobuf:"bytes,15,opt,name=register_by_name_ack_cmd" json:"register_by_name_ack_cmd,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
包格式
func (*Cl5Pkg) Descriptor ¶
func (*Cl5Pkg) GetRegisterByIdAckCmd ¶
func (m *Cl5Pkg) GetRegisterByIdAckCmd() *Cl5RegisterByIdAckCmd
func (*Cl5Pkg) GetRegisterByIdCmd ¶
func (m *Cl5Pkg) GetRegisterByIdCmd() *Cl5RegisterByIdCmd
func (*Cl5Pkg) GetRegisterByNameAckCmd ¶
func (m *Cl5Pkg) GetRegisterByNameAckCmd() *Cl5RegisterByNameAckCmd
func (*Cl5Pkg) GetRegisterByNameCmd ¶
func (m *Cl5Pkg) GetRegisterByNameCmd() *Cl5RegisterByNameCmd
func (*Cl5Pkg) GetSyncByAgentAckCmd ¶
func (m *Cl5Pkg) GetSyncByAgentAckCmd() *Cl5SyncByAgentAckCmd
func (*Cl5Pkg) GetSyncByAgentCmd ¶
func (m *Cl5Pkg) GetSyncByAgentCmd() *Cl5SyncByAgentCmd
func (*Cl5Pkg) ProtoMessage ¶
func (*Cl5Pkg) ProtoMessage()
func (*Cl5Pkg) XXX_DiscardUnknown ¶
func (m *Cl5Pkg) XXX_DiscardUnknown()
func (*Cl5Pkg) XXX_Marshal ¶
func (*Cl5Pkg) XXX_Unmarshal ¶
type Cl5PolyObj ¶
type Cl5PolyObj struct { ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` Div *int32 `protobuf:"varint,2,req,name=div" json:"div,omitempty"` Mod *int32 `protobuf:"varint,3,req,name=mod" json:"mod,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
有状态规则配置
func (*Cl5PolyObj) Descriptor ¶
func (*Cl5PolyObj) Descriptor() ([]byte, []int)
func (*Cl5PolyObj) GetDiv ¶
func (m *Cl5PolyObj) GetDiv() int32
func (*Cl5PolyObj) GetMod ¶
func (m *Cl5PolyObj) GetMod() int32
func (*Cl5PolyObj) GetModId ¶
func (m *Cl5PolyObj) GetModId() int32
func (*Cl5PolyObj) ProtoMessage ¶
func (*Cl5PolyObj) ProtoMessage()
func (*Cl5PolyObj) Reset ¶
func (m *Cl5PolyObj) Reset()
func (*Cl5PolyObj) String ¶
func (m *Cl5PolyObj) String() string
func (*Cl5PolyObj) XXX_DiscardUnknown ¶
func (m *Cl5PolyObj) XXX_DiscardUnknown()
func (*Cl5PolyObj) XXX_Marshal ¶
func (m *Cl5PolyObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5PolyObj) XXX_Merge ¶
func (dst *Cl5PolyObj) XXX_Merge(src proto.Message)
func (*Cl5PolyObj) XXX_Size ¶
func (m *Cl5PolyObj) XXX_Size() int
func (*Cl5PolyObj) XXX_Unmarshal ¶
func (m *Cl5PolyObj) XXX_Unmarshal(b []byte) error
type Cl5RegisterByIdAckCmd ¶
type Cl5RegisterByIdAckCmd struct { CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` ServList *Cl5ServList `protobuf:"bytes,2,opt,name=serv_list" json:"serv_list,omitempty"` SidList *Cl5SidList `protobuf:"bytes,3,opt,name=sid_list" json:"sid_list,omitempty"` IpcList *Cl5IpcList `protobuf:"bytes,4,opt,name=ipc_list" json:"ipc_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
已经废弃
func (*Cl5RegisterByIdAckCmd) Descriptor ¶
func (*Cl5RegisterByIdAckCmd) Descriptor() ([]byte, []int)
func (*Cl5RegisterByIdAckCmd) GetCallerIp ¶
func (m *Cl5RegisterByIdAckCmd) GetCallerIp() int32
func (*Cl5RegisterByIdAckCmd) GetIpcList ¶
func (m *Cl5RegisterByIdAckCmd) GetIpcList() *Cl5IpcList
func (*Cl5RegisterByIdAckCmd) GetServList ¶
func (m *Cl5RegisterByIdAckCmd) GetServList() *Cl5ServList
func (*Cl5RegisterByIdAckCmd) GetSidList ¶
func (m *Cl5RegisterByIdAckCmd) GetSidList() *Cl5SidList
func (*Cl5RegisterByIdAckCmd) ProtoMessage ¶
func (*Cl5RegisterByIdAckCmd) ProtoMessage()
func (*Cl5RegisterByIdAckCmd) Reset ¶
func (m *Cl5RegisterByIdAckCmd) Reset()
func (*Cl5RegisterByIdAckCmd) String ¶
func (m *Cl5RegisterByIdAckCmd) String() string
func (*Cl5RegisterByIdAckCmd) XXX_DiscardUnknown ¶
func (m *Cl5RegisterByIdAckCmd) XXX_DiscardUnknown()
func (*Cl5RegisterByIdAckCmd) XXX_Marshal ¶
func (m *Cl5RegisterByIdAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5RegisterByIdAckCmd) XXX_Merge ¶
func (dst *Cl5RegisterByIdAckCmd) XXX_Merge(src proto.Message)
func (*Cl5RegisterByIdAckCmd) XXX_Size ¶
func (m *Cl5RegisterByIdAckCmd) XXX_Size() int
func (*Cl5RegisterByIdAckCmd) XXX_Unmarshal ¶
func (m *Cl5RegisterByIdAckCmd) XXX_Unmarshal(b []byte) error
type Cl5RegisterByIdCmd ¶
type Cl5RegisterByIdCmd struct { CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` OptList *Cl5OptList `protobuf:"bytes,2,opt,name=opt_list" json:"opt_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
已经废弃
func (*Cl5RegisterByIdCmd) Descriptor ¶
func (*Cl5RegisterByIdCmd) Descriptor() ([]byte, []int)
func (*Cl5RegisterByIdCmd) GetCallerIp ¶
func (m *Cl5RegisterByIdCmd) GetCallerIp() int32
func (*Cl5RegisterByIdCmd) GetOptList ¶
func (m *Cl5RegisterByIdCmd) GetOptList() *Cl5OptList
func (*Cl5RegisterByIdCmd) ProtoMessage ¶
func (*Cl5RegisterByIdCmd) ProtoMessage()
func (*Cl5RegisterByIdCmd) Reset ¶
func (m *Cl5RegisterByIdCmd) Reset()
func (*Cl5RegisterByIdCmd) String ¶
func (m *Cl5RegisterByIdCmd) String() string
func (*Cl5RegisterByIdCmd) XXX_DiscardUnknown ¶
func (m *Cl5RegisterByIdCmd) XXX_DiscardUnknown()
func (*Cl5RegisterByIdCmd) XXX_Marshal ¶
func (m *Cl5RegisterByIdCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5RegisterByIdCmd) XXX_Merge ¶
func (dst *Cl5RegisterByIdCmd) XXX_Merge(src proto.Message)
func (*Cl5RegisterByIdCmd) XXX_Size ¶
func (m *Cl5RegisterByIdCmd) XXX_Size() int
func (*Cl5RegisterByIdCmd) XXX_Unmarshal ¶
func (m *Cl5RegisterByIdCmd) XXX_Unmarshal(b []byte) error
type Cl5RegisterByNameAckCmd ¶
type Cl5RegisterByNameAckCmd struct { CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` ServList *Cl5ServList `protobuf:"bytes,2,opt,name=serv_list" json:"serv_list,omitempty"` SidList *Cl5SidList `protobuf:"bytes,3,opt,name=sid_list" json:"sid_list,omitempty"` IpcList *Cl5IpcList `protobuf:"bytes,4,opt,name=ipc_list" json:"ipc_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CL5_REGISTER_BY_NAME_ACK_CMD 应答包
func (*Cl5RegisterByNameAckCmd) Descriptor ¶
func (*Cl5RegisterByNameAckCmd) Descriptor() ([]byte, []int)
func (*Cl5RegisterByNameAckCmd) GetCallerIp ¶
func (m *Cl5RegisterByNameAckCmd) GetCallerIp() int32
func (*Cl5RegisterByNameAckCmd) GetIpcList ¶
func (m *Cl5RegisterByNameAckCmd) GetIpcList() *Cl5IpcList
func (*Cl5RegisterByNameAckCmd) GetServList ¶
func (m *Cl5RegisterByNameAckCmd) GetServList() *Cl5ServList
func (*Cl5RegisterByNameAckCmd) GetSidList ¶
func (m *Cl5RegisterByNameAckCmd) GetSidList() *Cl5SidList
func (*Cl5RegisterByNameAckCmd) ProtoMessage ¶
func (*Cl5RegisterByNameAckCmd) ProtoMessage()
func (*Cl5RegisterByNameAckCmd) Reset ¶
func (m *Cl5RegisterByNameAckCmd) Reset()
func (*Cl5RegisterByNameAckCmd) String ¶
func (m *Cl5RegisterByNameAckCmd) String() string
func (*Cl5RegisterByNameAckCmd) XXX_DiscardUnknown ¶
func (m *Cl5RegisterByNameAckCmd) XXX_DiscardUnknown()
func (*Cl5RegisterByNameAckCmd) XXX_Marshal ¶
func (m *Cl5RegisterByNameAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5RegisterByNameAckCmd) XXX_Merge ¶
func (dst *Cl5RegisterByNameAckCmd) XXX_Merge(src proto.Message)
func (*Cl5RegisterByNameAckCmd) XXX_Size ¶
func (m *Cl5RegisterByNameAckCmd) XXX_Size() int
func (*Cl5RegisterByNameAckCmd) XXX_Unmarshal ¶
func (m *Cl5RegisterByNameAckCmd) XXX_Unmarshal(b []byte) error
type Cl5RegisterByNameCmd ¶
type Cl5RegisterByNameCmd struct { CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` NameList *Cl5NameList `protobuf:"bytes,2,opt,name=name_list" json:"name_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CL5_REGISTER_BY_NAME_CMD 请求包
func (*Cl5RegisterByNameCmd) Descriptor ¶
func (*Cl5RegisterByNameCmd) Descriptor() ([]byte, []int)
func (*Cl5RegisterByNameCmd) GetCallerIp ¶
func (m *Cl5RegisterByNameCmd) GetCallerIp() int32
func (*Cl5RegisterByNameCmd) GetNameList ¶
func (m *Cl5RegisterByNameCmd) GetNameList() *Cl5NameList
func (*Cl5RegisterByNameCmd) ProtoMessage ¶
func (*Cl5RegisterByNameCmd) ProtoMessage()
func (*Cl5RegisterByNameCmd) Reset ¶
func (m *Cl5RegisterByNameCmd) Reset()
func (*Cl5RegisterByNameCmd) String ¶
func (m *Cl5RegisterByNameCmd) String() string
func (*Cl5RegisterByNameCmd) XXX_DiscardUnknown ¶
func (m *Cl5RegisterByNameCmd) XXX_DiscardUnknown()
func (*Cl5RegisterByNameCmd) XXX_Marshal ¶
func (m *Cl5RegisterByNameCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5RegisterByNameCmd) XXX_Merge ¶
func (dst *Cl5RegisterByNameCmd) XXX_Merge(src proto.Message)
func (*Cl5RegisterByNameCmd) XXX_Size ¶
func (m *Cl5RegisterByNameCmd) XXX_Size() int
func (*Cl5RegisterByNameCmd) XXX_Unmarshal ¶
func (m *Cl5RegisterByNameCmd) XXX_Unmarshal(b []byte) error
type Cl5RuleList ¶
type Cl5RuleList struct { Poly []*Cl5PolyObj `protobuf:"bytes,1,rep,name=poly" json:"poly,omitempty"` Sect []*Cl5SectObj `protobuf:"bytes,2,rep,name=sect" json:"sect,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
有状态规则列表
func (*Cl5RuleList) Descriptor ¶
func (*Cl5RuleList) Descriptor() ([]byte, []int)
func (*Cl5RuleList) GetPoly ¶
func (m *Cl5RuleList) GetPoly() []*Cl5PolyObj
func (*Cl5RuleList) GetSect ¶
func (m *Cl5RuleList) GetSect() []*Cl5SectObj
func (*Cl5RuleList) ProtoMessage ¶
func (*Cl5RuleList) ProtoMessage()
func (*Cl5RuleList) Reset ¶
func (m *Cl5RuleList) Reset()
func (*Cl5RuleList) String ¶
func (m *Cl5RuleList) String() string
func (*Cl5RuleList) XXX_DiscardUnknown ¶
func (m *Cl5RuleList) XXX_DiscardUnknown()
func (*Cl5RuleList) XXX_Marshal ¶
func (m *Cl5RuleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5RuleList) XXX_Merge ¶
func (dst *Cl5RuleList) XXX_Merge(src proto.Message)
func (*Cl5RuleList) XXX_Size ¶
func (m *Cl5RuleList) XXX_Size() int
func (*Cl5RuleList) XXX_Unmarshal ¶
func (m *Cl5RuleList) XXX_Unmarshal(b []byte) error
type Cl5SectObj ¶
type Cl5SectObj struct { ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` From *int32 `protobuf:"varint,2,req,name=from" json:"from,omitempty"` To *int32 `protobuf:"varint,3,req,name=to" json:"to,omitempty"` CmdId *int32 `protobuf:"varint,4,req,name=cmd_id" json:"cmd_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
有状态规则分段信息
func (*Cl5SectObj) Descriptor ¶
func (*Cl5SectObj) Descriptor() ([]byte, []int)
func (*Cl5SectObj) GetCmdId ¶
func (m *Cl5SectObj) GetCmdId() int32
func (*Cl5SectObj) GetFrom ¶
func (m *Cl5SectObj) GetFrom() int32
func (*Cl5SectObj) GetModId ¶
func (m *Cl5SectObj) GetModId() int32
func (*Cl5SectObj) GetTo ¶
func (m *Cl5SectObj) GetTo() int32
func (*Cl5SectObj) ProtoMessage ¶
func (*Cl5SectObj) ProtoMessage()
func (*Cl5SectObj) Reset ¶
func (m *Cl5SectObj) Reset()
func (*Cl5SectObj) String ¶
func (m *Cl5SectObj) String() string
func (*Cl5SectObj) XXX_DiscardUnknown ¶
func (m *Cl5SectObj) XXX_DiscardUnknown()
func (*Cl5SectObj) XXX_Marshal ¶
func (m *Cl5SectObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5SectObj) XXX_Merge ¶
func (dst *Cl5SectObj) XXX_Merge(src proto.Message)
func (*Cl5SectObj) XXX_Size ¶
func (m *Cl5SectObj) XXX_Size() int
func (*Cl5SectObj) XXX_Unmarshal ¶
func (m *Cl5SectObj) XXX_Unmarshal(b []byte) error
type Cl5ServList ¶
type Cl5ServList struct { Serv []*Cl5ServObj `protobuf:"bytes,1,rep,name=serv" json:"serv,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
被调server列表
func (*Cl5ServList) Descriptor ¶
func (*Cl5ServList) Descriptor() ([]byte, []int)
func (*Cl5ServList) GetServ ¶
func (m *Cl5ServList) GetServ() []*Cl5ServObj
func (*Cl5ServList) ProtoMessage ¶
func (*Cl5ServList) ProtoMessage()
func (*Cl5ServList) Reset ¶
func (m *Cl5ServList) Reset()
func (*Cl5ServList) String ¶
func (m *Cl5ServList) String() string
func (*Cl5ServList) XXX_DiscardUnknown ¶
func (m *Cl5ServList) XXX_DiscardUnknown()
func (*Cl5ServList) XXX_Marshal ¶
func (m *Cl5ServList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5ServList) XXX_Merge ¶
func (dst *Cl5ServList) XXX_Merge(src proto.Message)
func (*Cl5ServList) XXX_Size ¶
func (m *Cl5ServList) XXX_Size() int
func (*Cl5ServList) XXX_Unmarshal ¶
func (m *Cl5ServList) XXX_Unmarshal(b []byte) error
type Cl5ServObj ¶
type Cl5ServObj struct { ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` Ip *int32 `protobuf:"varint,3,req,name=ip" json:"ip,omitempty"` Port *int32 `protobuf:"varint,4,req,name=port" json:"port,omitempty"` Weight *int32 `protobuf:"varint,5,req,name=weight" json:"weight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
被调server
func (*Cl5ServObj) Descriptor ¶
func (*Cl5ServObj) Descriptor() ([]byte, []int)
func (*Cl5ServObj) GetCmdId ¶
func (m *Cl5ServObj) GetCmdId() int32
func (*Cl5ServObj) GetIp ¶
func (m *Cl5ServObj) GetIp() int32
func (*Cl5ServObj) GetModId ¶
func (m *Cl5ServObj) GetModId() int32
func (*Cl5ServObj) GetPort ¶
func (m *Cl5ServObj) GetPort() int32
func (*Cl5ServObj) GetWeight ¶
func (m *Cl5ServObj) GetWeight() int32
func (*Cl5ServObj) ProtoMessage ¶
func (*Cl5ServObj) ProtoMessage()
func (*Cl5ServObj) Reset ¶
func (m *Cl5ServObj) Reset()
func (*Cl5ServObj) String ¶
func (m *Cl5ServObj) String() string
func (*Cl5ServObj) XXX_DiscardUnknown ¶
func (m *Cl5ServObj) XXX_DiscardUnknown()
func (*Cl5ServObj) XXX_Marshal ¶
func (m *Cl5ServObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5ServObj) XXX_Merge ¶
func (dst *Cl5ServObj) XXX_Merge(src proto.Message)
func (*Cl5ServObj) XXX_Size ¶
func (m *Cl5ServObj) XXX_Size() int
func (*Cl5ServObj) XXX_Unmarshal ¶
func (m *Cl5ServObj) XXX_Unmarshal(b []byte) error
type Cl5SidList ¶
type Cl5SidList struct { Sid []*Cl5SidObj `protobuf:"bytes,1,rep,name=sid" json:"sid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sid属性列表
func (*Cl5SidList) Descriptor ¶
func (*Cl5SidList) Descriptor() ([]byte, []int)
func (*Cl5SidList) GetSid ¶
func (m *Cl5SidList) GetSid() []*Cl5SidObj
func (*Cl5SidList) ProtoMessage ¶
func (*Cl5SidList) ProtoMessage()
func (*Cl5SidList) Reset ¶
func (m *Cl5SidList) Reset()
func (*Cl5SidList) String ¶
func (m *Cl5SidList) String() string
func (*Cl5SidList) XXX_DiscardUnknown ¶
func (m *Cl5SidList) XXX_DiscardUnknown()
func (*Cl5SidList) XXX_Marshal ¶
func (m *Cl5SidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5SidList) XXX_Merge ¶
func (dst *Cl5SidList) XXX_Merge(src proto.Message)
func (*Cl5SidList) XXX_Size ¶
func (m *Cl5SidList) XXX_Size() int
func (*Cl5SidList) XXX_Unmarshal ¶
func (m *Cl5SidList) XXX_Unmarshal(b []byte) error
type Cl5SidObj ¶
type Cl5SidObj struct { ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Policy *int32 `protobuf:"varint,4,opt,name=policy" json:"policy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sid属性
func (*Cl5SidObj) Descriptor ¶
func (*Cl5SidObj) ProtoMessage ¶
func (*Cl5SidObj) ProtoMessage()
func (*Cl5SidObj) XXX_DiscardUnknown ¶
func (m *Cl5SidObj) XXX_DiscardUnknown()
func (*Cl5SidObj) XXX_Marshal ¶
func (*Cl5SidObj) XXX_Unmarshal ¶
type Cl5SyncByAgentAckCmd ¶
type Cl5SyncByAgentAckCmd struct { AgentIp *int32 `protobuf:"varint,1,req,name=agent_ip" json:"agent_ip,omitempty"` SyncFlow *int32 `protobuf:"varint,2,req,name=sync_flow" json:"sync_flow,omitempty"` ServList *Cl5ServList `protobuf:"bytes,3,opt,name=serv_list" json:"serv_list,omitempty"` SidList *Cl5SidList `protobuf:"bytes,4,opt,name=sid_list" json:"sid_list,omitempty"` IpcList *Cl5IpcList `protobuf:"bytes,5,opt,name=ipc_list" json:"ipc_list,omitempty"` RuleList *Cl5RuleList `protobuf:"bytes,6,opt,name=rule_list" json:"rule_list,omitempty"` L5SvrList *Cl5L5SvrList `protobuf:"bytes,7,opt,name=l5svr_list" json:"l5svr_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CL5_SYNC_BY_AGENT_CMD应答包
func (*Cl5SyncByAgentAckCmd) Descriptor ¶
func (*Cl5SyncByAgentAckCmd) Descriptor() ([]byte, []int)
func (*Cl5SyncByAgentAckCmd) GetAgentIp ¶
func (m *Cl5SyncByAgentAckCmd) GetAgentIp() int32
func (*Cl5SyncByAgentAckCmd) GetIpcList ¶
func (m *Cl5SyncByAgentAckCmd) GetIpcList() *Cl5IpcList
func (*Cl5SyncByAgentAckCmd) GetL5SvrList ¶
func (m *Cl5SyncByAgentAckCmd) GetL5SvrList() *Cl5L5SvrList
func (*Cl5SyncByAgentAckCmd) GetRuleList ¶
func (m *Cl5SyncByAgentAckCmd) GetRuleList() *Cl5RuleList
func (*Cl5SyncByAgentAckCmd) GetServList ¶
func (m *Cl5SyncByAgentAckCmd) GetServList() *Cl5ServList
func (*Cl5SyncByAgentAckCmd) GetSidList ¶
func (m *Cl5SyncByAgentAckCmd) GetSidList() *Cl5SidList
func (*Cl5SyncByAgentAckCmd) GetSyncFlow ¶
func (m *Cl5SyncByAgentAckCmd) GetSyncFlow() int32
func (*Cl5SyncByAgentAckCmd) ProtoMessage ¶
func (*Cl5SyncByAgentAckCmd) ProtoMessage()
func (*Cl5SyncByAgentAckCmd) Reset ¶
func (m *Cl5SyncByAgentAckCmd) Reset()
func (*Cl5SyncByAgentAckCmd) String ¶
func (m *Cl5SyncByAgentAckCmd) String() string
func (*Cl5SyncByAgentAckCmd) XXX_DiscardUnknown ¶
func (m *Cl5SyncByAgentAckCmd) XXX_DiscardUnknown()
func (*Cl5SyncByAgentAckCmd) XXX_Marshal ¶
func (m *Cl5SyncByAgentAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5SyncByAgentAckCmd) XXX_Merge ¶
func (dst *Cl5SyncByAgentAckCmd) XXX_Merge(src proto.Message)
func (*Cl5SyncByAgentAckCmd) XXX_Size ¶
func (m *Cl5SyncByAgentAckCmd) XXX_Size() int
func (*Cl5SyncByAgentAckCmd) XXX_Unmarshal ¶
func (m *Cl5SyncByAgentAckCmd) XXX_Unmarshal(b []byte) error
type Cl5SyncByAgentCmd ¶
type Cl5SyncByAgentCmd struct { AgentIp *int32 `protobuf:"varint,1,req,name=agent_ip" json:"agent_ip,omitempty"` SyncFlow *int32 `protobuf:"varint,2,req,name=sync_flow" json:"sync_flow,omitempty"` OptList *Cl5OptList `protobuf:"bytes,3,opt,name=opt_list" json:"opt_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CL5_SYNC_BY_AGENT_CMD请求包
func (*Cl5SyncByAgentCmd) Descriptor ¶
func (*Cl5SyncByAgentCmd) Descriptor() ([]byte, []int)
func (*Cl5SyncByAgentCmd) GetAgentIp ¶
func (m *Cl5SyncByAgentCmd) GetAgentIp() int32
func (*Cl5SyncByAgentCmd) GetOptList ¶
func (m *Cl5SyncByAgentCmd) GetOptList() *Cl5OptList
func (*Cl5SyncByAgentCmd) GetSyncFlow ¶
func (m *Cl5SyncByAgentCmd) GetSyncFlow() int32
func (*Cl5SyncByAgentCmd) ProtoMessage ¶
func (*Cl5SyncByAgentCmd) ProtoMessage()
func (*Cl5SyncByAgentCmd) Reset ¶
func (m *Cl5SyncByAgentCmd) Reset()
func (*Cl5SyncByAgentCmd) String ¶
func (m *Cl5SyncByAgentCmd) String() string
func (*Cl5SyncByAgentCmd) XXX_DiscardUnknown ¶
func (m *Cl5SyncByAgentCmd) XXX_DiscardUnknown()
func (*Cl5SyncByAgentCmd) XXX_Marshal ¶
func (m *Cl5SyncByAgentCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cl5SyncByAgentCmd) XXX_Merge ¶
func (dst *Cl5SyncByAgentCmd) XXX_Merge(src proto.Message)
func (*Cl5SyncByAgentCmd) XXX_Size ¶
func (m *Cl5SyncByAgentCmd) XXX_Size() int
func (*Cl5SyncByAgentCmd) XXX_Unmarshal ¶
func (m *Cl5SyncByAgentCmd) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.