Back to

Package grpc

Latest Go to latest

The latest major version is .

Published: Jun 10, 2020 | License: Apache-2.0 | Module:


type Config

type Config struct {
	Port        int    `mapstructure:"grpc-port"`
	ServiceName string `mapstructure:"grpc-service-name"`

type Server

type Server struct {
	// contains filtered or unexported fields

func NewServer

func NewServer(config *Config, logger *zap.Logger) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe()

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