grpc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CERTIFICATE_MOUTH_PATH = "/etc/auth/"
	CERTIFICATE_KEY        = "crt"
	PRIVATE_KEY            = "pk"
)

Variables

View Source
var (
	HOST string = os.Getenv("AUTOPI_HOSTNAME")
	PORT string = os.Getenv("AUTOPI_PORT")
)

Functions

func InitRemoteWorkProcessorGrpcClient

func InitRemoteWorkProcessorGrpcClient()

Types

type GrpcClientMetadata

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

func NewGrpcClientMetadata

func NewGrpcClientMetadata(host string, port string) *GrpcClientMetadata

func (*GrpcClientMetadata) BlockWhenDialing

func (gm *GrpcClientMetadata) BlockWhenDialing() *GrpcClientMetadata

func (*GrpcClientMetadata) WithClientCertificate

func (gm *GrpcClientMetadata) WithClientCertificate() *GrpcClientMetadata

type RemoteWorkProcessorGrpcClient

type RemoteWorkProcessorGrpcClient struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*RemoteWorkProcessorGrpcClient) Receive

func (gc *RemoteWorkProcessorGrpcClient) Receive() <-chan *pb.ServerMessage

func (*RemoteWorkProcessorGrpcClient) Send

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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