grpc

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(a i_api.API, config *Config) (i_api.Subsystem, error)

Types

type Config

type Config struct {
	Addr string `flag:"addr" desc:"grpc server address" default:":50051"`
}

type Grpc

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

func (*Grpc) Addr added in v0.7.0

func (g *Grpc) Addr() string

func (*Grpc) Kind added in v0.7.0

func (g *Grpc) Kind() string

func (*Grpc) Start

func (g *Grpc) Start(errors chan<- error)

func (*Grpc) Stop

func (g *Grpc) Stop() error

func (*Grpc) String

func (g *Grpc) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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