grpc

package
v0.0.0-...-fc1db22 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandGrpcService

type CommandGrpcService struct {
	// contains filtered or unexported fields
}

func NewCommandService

func NewCommandService() *CommandGrpcService

func (*CommandGrpcService) CommandChannel

func (grpcService *CommandGrpcService) CommandChannel(stream sdkProto.Commander_CommandChannelServer) error

func (*CommandGrpcService) Download

func (grpcService *CommandGrpcService) Download(req *sdkProto.DownloadRequest, download sdkProto.Commander_DownloadServer) error

Download from the server to the client

func (*CommandGrpcService) SendConfigApply

func (grpcService *CommandGrpcService) SendConfigApply(nginxId string, nginxConfigFileName string, messageId string) error

func (*CommandGrpcService) Upload

func (grpcService *CommandGrpcService) Upload(upload sdkProto.Commander_UploadServer) error

Upload to the server from the client.

Jump to

Keyboard shortcuts

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