auto_sdl

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package auto_sdl contains generated bindings for API file auto_sdl.api.

Contents: - 2 messages

Index

Constants

View Source
const (
	APIFile    = "auto_sdl"
	APIVersion = "1.0.0"
	VersionCrc = 0x434063e5
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

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) Marshal

func (m *AutoSdlConfig) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *AutoSdlConfigReply) Marshal(b []byte) ([]byte, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL