Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type BaseClient ¶
func NewBaseClient ¶
func NewBaseClient( ctx context.Context, handleCmd types.AgentCmdHandleFunc, maxPayloadSize int, ) (*BaseClient, error)
func (*BaseClient) Context ¶
func (b *BaseClient) Context() context.Context
func (*BaseClient) HandleCmd ¶
func (b *BaseClient) HandleCmd(cmdBytes []byte)
func (*BaseClient) MaxPayloadSize ¶
func (b *BaseClient) MaxPayloadSize() int
func (*BaseClient) OnClose ¶
func (b *BaseClient) OnClose(doExit func() error) error
Click to show internal directories.
Click to hide internal directories.