Back to godoc.org

Package grpc

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

The latest major version is .

Published: Jun 10, 2020 | License: Apache-2.0 | Module: github.com/BlackspaceInc/Backend/user-management-service

Index

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