Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildClientBinaryInput ¶
type BuildClientBinaryInput struct {
ServerAddress, ServerPort, Filename string
RunHidden bool
OSTarget system.OSType
}
func (BuildClientBinaryInput) GetFilename ¶
func (b BuildClientBinaryInput) GetFilename() string
func (BuildClientBinaryInput) GetServerAddress ¶
func (b BuildClientBinaryInput) GetServerAddress() string
func (BuildClientBinaryInput) GetServerPort ¶
func (b BuildClientBinaryInput) GetServerPort() string
type SendCommandInput ¶
type SendCommandOutput ¶
type SendCommandOutput struct {
Response string
}
type Service ¶
type Service interface { AddConnection(clientID string, connection *websocket.Conn) error GetConnection(clientID string) (*websocket.Conn, bool) RemoveConnection(clientID string) error SendCommand(ctx context.Context, input SendCommandInput) (SendCommandOutput, error) BuildClient(BuildClientBinaryInput) (string, error) }
func NewClientService ¶
func NewClientService( appVersion string, configuration *environment.Configuration, repository authRepo.Repository, authService auth.Service, ) Service
Click to show internal directories.
Click to hide internal directories.