Documentation
¶
Overview ¶
Package auto_sdl contains generated bindings for API file auto_sdl.api.
Contents: - 2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type AutoSdlConfig
- func (*AutoSdlConfig) GetCrcString() string
- func (*AutoSdlConfig) GetMessageName() string
- func (*AutoSdlConfig) GetMessageType() api.MessageType
- func (m *AutoSdlConfig) Marshal(b []byte) ([]byte, error)
- func (m *AutoSdlConfig) Reset()
- func (m *AutoSdlConfig) Size() (size int)
- func (m *AutoSdlConfig) Unmarshal(b []byte) error
- type AutoSdlConfigReply
- func (*AutoSdlConfigReply) GetCrcString() string
- func (*AutoSdlConfigReply) GetMessageName() string
- func (*AutoSdlConfigReply) GetMessageType() api.MessageType
- func (m *AutoSdlConfigReply) Marshal(b []byte) ([]byte, error)
- func (m *AutoSdlConfigReply) Reset()
- func (m *AutoSdlConfigReply) Size() (size int)
- func (m *AutoSdlConfigReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "auto_sdl" APIVersion = "1.0.0" VersionCrc = 0x434063e5 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AutoSdlConfig ¶
type AutoSdlConfig struct {
Threshold uint32 `binapi:"u32,name=threshold,default=5" json:"threshold,omitempty"`
RemoveTimeout uint32 `binapi:"u32,name=remove_timeout,default=300" json:"remove_timeout,omitempty"`
Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
}
auto sdl config
- threshold - number of times to hit for an auto SDL entry is created
- remove_timeout - timeout value for the auto SDL entries after they are created
- enable - enable/disable
AutoSdlConfig defines message 'auto_sdl_config'.
func (*AutoSdlConfig) GetCrcString ¶
func (*AutoSdlConfig) GetCrcString() string
func (*AutoSdlConfig) GetMessageName ¶
func (*AutoSdlConfig) GetMessageName() string
func (*AutoSdlConfig) GetMessageType ¶
func (*AutoSdlConfig) GetMessageType() api.MessageType
func (*AutoSdlConfig) Reset ¶
func (m *AutoSdlConfig) Reset()
func (*AutoSdlConfig) Size ¶
func (m *AutoSdlConfig) Size() (size int)
func (*AutoSdlConfig) Unmarshal ¶
func (m *AutoSdlConfig) Unmarshal(b []byte) error
type AutoSdlConfigReply ¶
type AutoSdlConfigReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AutoSdlConfigReply defines message 'auto_sdl_config_reply'.
func (*AutoSdlConfigReply) GetCrcString ¶
func (*AutoSdlConfigReply) GetCrcString() string
func (*AutoSdlConfigReply) GetMessageName ¶
func (*AutoSdlConfigReply) GetMessageName() string
func (*AutoSdlConfigReply) GetMessageType ¶
func (*AutoSdlConfigReply) GetMessageType() api.MessageType
func (*AutoSdlConfigReply) Reset ¶
func (m *AutoSdlConfigReply) Reset()
func (*AutoSdlConfigReply) Size ¶
func (m *AutoSdlConfigReply) Size() (size int)
func (*AutoSdlConfigReply) Unmarshal ¶
func (m *AutoSdlConfigReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
AutoSdlConfig(ctx context.Context, in *AutoSdlConfig) (*AutoSdlConfigReply, error)
}
RPCService defines RPC service auto_sdl.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.