Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
GetConnection() *grpc.ClientConn
}
func ProvideClient ¶
func ProvideClient(config ClientConfig) (Client, error)
type ClientConfig ¶
type ClientConfig struct {
Target string
}
type Server ¶
func ProvideGRPCServer ¶
func ProvideGRPCServer(c ServerConfig) (Server, func(), error)
type ServerConfig ¶
type ServerConfig struct {
GRPCServerListeningAddr string
}
Click to show internal directories.
Click to hide internal directories.