Categorygithub.com/ytrinh/ms-lib
modulepackage
0.0.0-20190926194230-40701c6be703
Repository: https://github.com/ytrinh/ms-lib.git
Documentation: pkg.go.dev

# README

ms-lib

# Packages

No description provided by the author

# Functions

GetEnv return an env value or defaultValue if env value does not exist.
GRPCDial is a helper function that creates a grpc.ClientConn with logging and prometheus interecepters.
NewGRPCTransport.
NewServer creates a new http transport.
NewServer creates a new Server.

# Variables

ServerOptionDefault.

# Structs

GRPCTransport properties.
GRPCTransportOptions hold options for server.
HTTPTransport.
GRPCTransportOptions hold options for server.
Server property.
ServerOptions hold options for server.

# Interfaces

Runner interface.