Versions in this module Expand all Collapse all v0 v0.1.1 May 24, 2022 Changes in this version + type Config struct + Client Server + Debug bool + ListenType string + LogFilePath string + Server Server + type Credential struct + Metadata map[string]string + func (c Credential) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) + func (c Credential) RequireTransportSecurity() bool + type Grpc struct + Config *Config + Credential *Credential + Log *zdpgo_log.Log + func New() *Grpc + func NewWithConfig(config *Config) *Grpc + func (g *Grpc) CloseClient(conn *grpc.ClientConn) + func (g *Grpc) GetAuthInterceptor(username, password string) grpc.ServerOption + func (g *Grpc) GetClientConn() (conn *grpc.ClientConn, err error) + func (g *Grpc) GetInterceptor(beforeFunc func(ctx context.Context) error, ...) grpc.ServerOption + func (g *Grpc) RunServer(...) + type Server struct + Host string + Port int