Documentation ¶
Index ¶
- Variables
- func GrpcClient(name, host, port string, token string, headers http.Header, ...) (*grpc.ClientConn, error)
- func GrpcInsecureClient(name, host, port string, token string, headers http.Header, ...) (*grpc.ClientConn, error)
- func GrpcMtlsClient(name, serverName, host, port string, dopts []grpc.DialOption, ...) (*grpc.ClientConn, error)
- func GrpcSecureClient(name, host, port string, token string, headers http.Header, ...) (*grpc.ClientConn, error)
- func StartGrpcMtlsServer(name, serverName, host, port string, sopts []grpc.ServerOption, ...)
- func StartGrpcServer(name, host, port string, sopts []grpc.ServerOption, ...)
- type GrpcAdapterConfigurer
- type GrpcClientConfigurer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NoGrpcDialOptions = []grpc.DialOption{} NoGrpcConfigurer = func(conn *grpc.ClientConn) {} )
Functions ¶
func GrpcClient ¶
func GrpcClient(name, host, port string, token string, headers http.Header, dopts []grpc.DialOption, configurer ...GrpcClientConfigurer) (*grpc.ClientConn, error)
func GrpcInsecureClient ¶
func GrpcInsecureClient(name, host, port string, token string, headers http.Header, dopts []grpc.DialOption, configurer GrpcClientConfigurer) (*grpc.ClientConn, error)
func GrpcMtlsClient ¶
func GrpcMtlsClient(name, serverName, host, port string, dopts []grpc.DialOption, configurer GrpcClientConfigurer) (*grpc.ClientConn, error)
func GrpcSecureClient ¶
func GrpcSecureClient(name, host, port string, token string, headers http.Header, dopts []grpc.DialOption, configurer ...GrpcClientConfigurer) (*grpc.ClientConn, error)
func StartGrpcMtlsServer ¶
func StartGrpcMtlsServer(name, serverName, host, port string, sopts []grpc.ServerOption, configure GrpcAdapterConfigurer)
func StartGrpcServer ¶
func StartGrpcServer(name, host, port string, sopts []grpc.ServerOption, configure GrpcAdapterConfigurer)
Types ¶
type GrpcAdapterConfigurer ¶
type GrpcClientConfigurer ¶
type GrpcClientConfigurer func(conn *grpc.ClientConn)
Click to show internal directories.
Click to hide internal directories.