Documentation ¶
Overview ¶
Package pot contains generated bindings for API file pot.api.
Contents:
8 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type PotProfileActivate
- func (*PotProfileActivate) GetCrcString() string
- func (*PotProfileActivate) GetMessageName() string
- func (*PotProfileActivate) GetMessageType() api.MessageType
- func (m *PotProfileActivate) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileActivate) Reset()
- func (m *PotProfileActivate) Size() (size int)
- func (m *PotProfileActivate) Unmarshal(b []byte) error
- type PotProfileActivateReply
- func (*PotProfileActivateReply) GetCrcString() string
- func (*PotProfileActivateReply) GetMessageName() string
- func (*PotProfileActivateReply) GetMessageType() api.MessageType
- func (m *PotProfileActivateReply) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileActivateReply) Reset()
- func (m *PotProfileActivateReply) Size() (size int)
- func (m *PotProfileActivateReply) Unmarshal(b []byte) error
- type PotProfileAdd
- func (*PotProfileAdd) GetCrcString() string
- func (*PotProfileAdd) GetMessageName() string
- func (*PotProfileAdd) GetMessageType() api.MessageType
- func (m *PotProfileAdd) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileAdd) Reset()
- func (m *PotProfileAdd) Size() (size int)
- func (m *PotProfileAdd) Unmarshal(b []byte) error
- type PotProfileAddReply
- func (*PotProfileAddReply) GetCrcString() string
- func (*PotProfileAddReply) GetMessageName() string
- func (*PotProfileAddReply) GetMessageType() api.MessageType
- func (m *PotProfileAddReply) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileAddReply) Reset()
- func (m *PotProfileAddReply) Size() (size int)
- func (m *PotProfileAddReply) Unmarshal(b []byte) error
- type PotProfileDel
- func (*PotProfileDel) GetCrcString() string
- func (*PotProfileDel) GetMessageName() string
- func (*PotProfileDel) GetMessageType() api.MessageType
- func (m *PotProfileDel) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileDel) Reset()
- func (m *PotProfileDel) Size() (size int)
- func (m *PotProfileDel) Unmarshal(b []byte) error
- type PotProfileDelReply
- func (*PotProfileDelReply) GetCrcString() string
- func (*PotProfileDelReply) GetMessageName() string
- func (*PotProfileDelReply) GetMessageType() api.MessageType
- func (m *PotProfileDelReply) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileDelReply) Reset()
- func (m *PotProfileDelReply) Size() (size int)
- func (m *PotProfileDelReply) Unmarshal(b []byte) error
- type PotProfileShowConfigDetails
- func (*PotProfileShowConfigDetails) GetCrcString() string
- func (*PotProfileShowConfigDetails) GetMessageName() string
- func (*PotProfileShowConfigDetails) GetMessageType() api.MessageType
- func (m *PotProfileShowConfigDetails) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileShowConfigDetails) Reset()
- func (m *PotProfileShowConfigDetails) Size() (size int)
- func (m *PotProfileShowConfigDetails) Unmarshal(b []byte) error
- type PotProfileShowConfigDump
- func (*PotProfileShowConfigDump) GetCrcString() string
- func (*PotProfileShowConfigDump) GetMessageName() string
- func (*PotProfileShowConfigDump) GetMessageType() api.MessageType
- func (m *PotProfileShowConfigDump) Marshal(b []byte) ([]byte, error)
- func (m *PotProfileShowConfigDump) Reset()
- func (m *PotProfileShowConfigDump) Size() (size int)
- func (m *PotProfileShowConfigDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_PotProfileShowConfigDumpClient
Constants ¶
View Source
const ( APIFile = "pot" APIVersion = "1.0.0" VersionCrc = 0xa9d8e55c )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type PotProfileActivate ¶
type PotProfileActivate struct { ID uint8 `binapi:"u8,name=id" json:"id,omitempty"` ListName string `binapi:"string[],name=list_name" json:"list_name,omitempty"` }
PotProfileActivate defines message 'pot_profile_activate'.
func (*PotProfileActivate) GetCrcString ¶
func (*PotProfileActivate) GetCrcString() string
func (*PotProfileActivate) GetMessageName ¶
func (*PotProfileActivate) GetMessageName() string
func (*PotProfileActivate) GetMessageType ¶
func (*PotProfileActivate) GetMessageType() api.MessageType
func (*PotProfileActivate) Reset ¶
func (m *PotProfileActivate) Reset()
func (*PotProfileActivate) Size ¶
func (m *PotProfileActivate) Size() (size int)
func (*PotProfileActivate) Unmarshal ¶
func (m *PotProfileActivate) Unmarshal(b []byte) error
type PotProfileActivateReply ¶
type PotProfileActivateReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
PotProfileActivateReply defines message 'pot_profile_activate_reply'.
func (*PotProfileActivateReply) GetCrcString ¶
func (*PotProfileActivateReply) GetCrcString() string
func (*PotProfileActivateReply) GetMessageName ¶
func (*PotProfileActivateReply) GetMessageName() string
func (*PotProfileActivateReply) GetMessageType ¶
func (*PotProfileActivateReply) GetMessageType() api.MessageType
func (*PotProfileActivateReply) Marshal ¶
func (m *PotProfileActivateReply) Marshal(b []byte) ([]byte, error)
func (*PotProfileActivateReply) Reset ¶
func (m *PotProfileActivateReply) Reset()
func (*PotProfileActivateReply) Size ¶
func (m *PotProfileActivateReply) Size() (size int)
func (*PotProfileActivateReply) Unmarshal ¶
func (m *PotProfileActivateReply) Unmarshal(b []byte) error
type PotProfileAdd ¶
type PotProfileAdd struct { ID uint8 `binapi:"u8,name=id" json:"id,omitempty"` Validator uint8 `binapi:"u8,name=validator" json:"validator,omitempty"` SecretKey uint64 `binapi:"u64,name=secret_key" json:"secret_key,omitempty"` Prime uint64 `binapi:"u64,name=prime" json:"prime,omitempty"` MaxBits uint8 `binapi:"u8,name=max_bits" json:"max_bits,omitempty"` Lpc uint64 `binapi:"u64,name=lpc" json:"lpc,omitempty"` PolynomialPublic uint64 `binapi:"u64,name=polynomial_public" json:"polynomial_public,omitempty"` ListName string `binapi:"string[],name=list_name" json:"list_name,omitempty"` }
PotProfileAdd defines message 'pot_profile_add'.
func (*PotProfileAdd) GetCrcString ¶
func (*PotProfileAdd) GetCrcString() string
func (*PotProfileAdd) GetMessageName ¶
func (*PotProfileAdd) GetMessageName() string
func (*PotProfileAdd) GetMessageType ¶
func (*PotProfileAdd) GetMessageType() api.MessageType
func (*PotProfileAdd) Reset ¶
func (m *PotProfileAdd) Reset()
func (*PotProfileAdd) Size ¶
func (m *PotProfileAdd) Size() (size int)
func (*PotProfileAdd) Unmarshal ¶
func (m *PotProfileAdd) Unmarshal(b []byte) error
type PotProfileAddReply ¶
type PotProfileAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
PotProfileAddReply defines message 'pot_profile_add_reply'.
func (*PotProfileAddReply) GetCrcString ¶
func (*PotProfileAddReply) GetCrcString() string
func (*PotProfileAddReply) GetMessageName ¶
func (*PotProfileAddReply) GetMessageName() string
func (*PotProfileAddReply) GetMessageType ¶
func (*PotProfileAddReply) GetMessageType() api.MessageType
func (*PotProfileAddReply) Reset ¶
func (m *PotProfileAddReply) Reset()
func (*PotProfileAddReply) Size ¶
func (m *PotProfileAddReply) Size() (size int)
func (*PotProfileAddReply) Unmarshal ¶
func (m *PotProfileAddReply) Unmarshal(b []byte) error
type PotProfileDel ¶
type PotProfileDel struct {
ListName string `binapi:"string[],name=list_name" json:"list_name,omitempty"`
}
PotProfileDel defines message 'pot_profile_del'.
func (*PotProfileDel) GetCrcString ¶
func (*PotProfileDel) GetCrcString() string
func (*PotProfileDel) GetMessageName ¶
func (*PotProfileDel) GetMessageName() string
func (*PotProfileDel) GetMessageType ¶
func (*PotProfileDel) GetMessageType() api.MessageType
func (*PotProfileDel) Reset ¶
func (m *PotProfileDel) Reset()
func (*PotProfileDel) Size ¶
func (m *PotProfileDel) Size() (size int)
func (*PotProfileDel) Unmarshal ¶
func (m *PotProfileDel) Unmarshal(b []byte) error
type PotProfileDelReply ¶
type PotProfileDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
PotProfileDelReply defines message 'pot_profile_del_reply'.
func (*PotProfileDelReply) GetCrcString ¶
func (*PotProfileDelReply) GetCrcString() string
func (*PotProfileDelReply) GetMessageName ¶
func (*PotProfileDelReply) GetMessageName() string
func (*PotProfileDelReply) GetMessageType ¶
func (*PotProfileDelReply) GetMessageType() api.MessageType
func (*PotProfileDelReply) Reset ¶
func (m *PotProfileDelReply) Reset()
func (*PotProfileDelReply) Size ¶
func (m *PotProfileDelReply) Size() (size int)
func (*PotProfileDelReply) Unmarshal ¶
func (m *PotProfileDelReply) Unmarshal(b []byte) error
type PotProfileShowConfigDetails ¶
type PotProfileShowConfigDetails struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ID uint8 `binapi:"u8,name=id" json:"id,omitempty"` Validator uint8 `binapi:"u8,name=validator" json:"validator,omitempty"` SecretKey uint64 `binapi:"u64,name=secret_key" json:"secret_key,omitempty"` Prime uint64 `binapi:"u64,name=prime" json:"prime,omitempty"` BitMask uint64 `binapi:"u64,name=bit_mask" json:"bit_mask,omitempty"` Lpc uint64 `binapi:"u64,name=lpc" json:"lpc,omitempty"` PolynomialPublic uint64 `binapi:"u64,name=polynomial_public" json:"polynomial_public,omitempty"` }
PotProfileShowConfigDetails defines message 'pot_profile_show_config_details'.
func (*PotProfileShowConfigDetails) GetCrcString ¶
func (*PotProfileShowConfigDetails) GetCrcString() string
func (*PotProfileShowConfigDetails) GetMessageName ¶
func (*PotProfileShowConfigDetails) GetMessageName() string
func (*PotProfileShowConfigDetails) GetMessageType ¶
func (*PotProfileShowConfigDetails) GetMessageType() api.MessageType
func (*PotProfileShowConfigDetails) Marshal ¶
func (m *PotProfileShowConfigDetails) Marshal(b []byte) ([]byte, error)
func (*PotProfileShowConfigDetails) Reset ¶
func (m *PotProfileShowConfigDetails) Reset()
func (*PotProfileShowConfigDetails) Size ¶
func (m *PotProfileShowConfigDetails) Size() (size int)
func (*PotProfileShowConfigDetails) Unmarshal ¶
func (m *PotProfileShowConfigDetails) Unmarshal(b []byte) error
type PotProfileShowConfigDump ¶
type PotProfileShowConfigDump struct {
ID uint8 `binapi:"u8,name=id" json:"id,omitempty"`
}
PotProfileShowConfigDump defines message 'pot_profile_show_config_dump'.
func (*PotProfileShowConfigDump) GetCrcString ¶
func (*PotProfileShowConfigDump) GetCrcString() string
func (*PotProfileShowConfigDump) GetMessageName ¶
func (*PotProfileShowConfigDump) GetMessageName() string
func (*PotProfileShowConfigDump) GetMessageType ¶
func (*PotProfileShowConfigDump) GetMessageType() api.MessageType
func (*PotProfileShowConfigDump) Marshal ¶
func (m *PotProfileShowConfigDump) Marshal(b []byte) ([]byte, error)
func (*PotProfileShowConfigDump) Reset ¶
func (m *PotProfileShowConfigDump) Reset()
func (*PotProfileShowConfigDump) Size ¶
func (m *PotProfileShowConfigDump) Size() (size int)
func (*PotProfileShowConfigDump) Unmarshal ¶
func (m *PotProfileShowConfigDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { PotProfileActivate(ctx context.Context, in *PotProfileActivate) (*PotProfileActivateReply, error) PotProfileAdd(ctx context.Context, in *PotProfileAdd) (*PotProfileAddReply, error) PotProfileDel(ctx context.Context, in *PotProfileDel) (*PotProfileDelReply, error) PotProfileShowConfigDump(ctx context.Context, in *PotProfileShowConfigDump) (RPCService_PotProfileShowConfigDumpClient, error) }
RPCService defines RPC service pot.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_PotProfileShowConfigDumpClient ¶
type RPCService_PotProfileShowConfigDumpClient interface { Recv() (*PotProfileShowConfigDetails, error) api.Stream }
Click to show internal directories.
Click to hide internal directories.