Back to godoc.org

Package grpc

v0.0.0-...-b8cc152
Latest Go to latest

The highest tagged major version is .

Published: Jun 25, 2020 | License: MIT | Module: github.com/and07/boilerplate-go

Index

type GRPC

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

GRPC ...

func NewServer

func NewServer(ctx context.Context, GRPCPort string) *GRPC

NewServer ...

func (*GRPC) RegisterEndpoints

func (g *GRPC) RegisterEndpoints(ctx context.Context, 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 ...

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier