grpc

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0

Package grpc contains implementation of kit service gRPC API.

Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnexpectedMsg = errors.New("unknown message type")
)

Functions

func NewServer

func NewServer(incoming chan *manager.ClientStreamMessage, svc Service) manager.ManagerServiceServer

NewServer returns new AuthServiceServer instance.

Types

type ManagerClient added in v0.0.2

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

func NewClient

NewClient returns new gRPC client instance.

func (ManagerClient) Process added in v0.0.2

func (client ManagerClient) Process(ctx context.Context, cancel context.CancelFunc) error

type Service added in v0.0.2

type Service interface {
	Run(ipAddress string, runReqChan chan *manager.ServerStreamMessage, authInfo credentials.AuthInfo)
}

Jump to

Keyboard shortcuts

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