Documentation ¶
Index ¶
- type Config
- type Instance
- type Policy
- type Policy_Timeout
- func (*Policy_Timeout) Descriptor() ([]byte, []int)
- func (m *Policy_Timeout) GetConnectionIdle() *Second
- func (m *Policy_Timeout) GetDownlinkOnly() *Second
- func (m *Policy_Timeout) GetHandshake() *Second
- func (m *Policy_Timeout) GetUplinkOnly() *Second
- func (*Policy_Timeout) ProtoMessage()
- func (m *Policy_Timeout) Reset()
- func (m *Policy_Timeout) String() string
- type Second
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) Descriptor ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is an instance of Policy manager.
type Policy ¶
type Policy struct {
Timeout *Policy_Timeout `protobuf:"bytes,1,opt,name=timeout" json:"timeout,omitempty"`
}
func (*Policy) Descriptor ¶
func (*Policy) GetTimeout ¶
func (m *Policy) GetTimeout() *Policy_Timeout
func (*Policy) OverrideWith ¶
OverrideWith overrides current Policy with another one.
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ToCorePolicy ¶
type Policy_Timeout ¶
type Policy_Timeout struct { Handshake *Second `protobuf:"bytes,1,opt,name=handshake" json:"handshake,omitempty"` ConnectionIdle *Second `protobuf:"bytes,2,opt,name=connection_idle,json=connectionIdle" json:"connection_idle,omitempty"` UplinkOnly *Second `protobuf:"bytes,3,opt,name=uplink_only,json=uplinkOnly" json:"uplink_only,omitempty"` DownlinkOnly *Second `protobuf:"bytes,4,opt,name=downlink_only,json=downlinkOnly" json:"downlink_only,omitempty"` }
Timeout is a message for timeout settings in various stages, in seconds.
func (*Policy_Timeout) Descriptor ¶
func (*Policy_Timeout) Descriptor() ([]byte, []int)
func (*Policy_Timeout) GetConnectionIdle ¶
func (m *Policy_Timeout) GetConnectionIdle() *Second
func (*Policy_Timeout) GetDownlinkOnly ¶
func (m *Policy_Timeout) GetDownlinkOnly() *Second
func (*Policy_Timeout) GetHandshake ¶
func (m *Policy_Timeout) GetHandshake() *Second
func (*Policy_Timeout) GetUplinkOnly ¶
func (m *Policy_Timeout) GetUplinkOnly() *Second
func (*Policy_Timeout) ProtoMessage ¶
func (*Policy_Timeout) ProtoMessage()
func (*Policy_Timeout) Reset ¶
func (m *Policy_Timeout) Reset()
func (*Policy_Timeout) String ¶
func (m *Policy_Timeout) String() string
type Second ¶
type Second struct {
Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (*Second) Descriptor ¶
func (*Second) ProtoMessage ¶
func (*Second) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.