grpc

package
v0.0.0-...-e77dc18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPC

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

GRPC ...

func NewServer

func NewServer(ctx context.Context, cfg *configs.Configs, handler handler) *GRPC

NewServer ...

func (*GRPC) RegisterEndpoints

func (g *GRPC) RegisterEndpoints(ctx context.Context, logger hclog.Logger, RegisterEndpointFns ...func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error) error

RegisterEndpoints ...

func (*GRPC) RunGRPC

func (g *GRPC) RunGRPC(ctx context.Context, fns ...func(*grpc.Server)) error

RunGRPC ...

Jump to

Keyboard shortcuts

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