Documentation ¶
Index ¶
- func NewGrpcClientsIfConfigured(config *service.Config) ([]service.Client, error)
- func NewGrpcServerIfConfigured(config *service.Config, serviceHandler *service.RequestHandler) (service.Server, error)
- func NewHTTPClientsIfConfigured(config *service.Config) ([]service.Client, error)
- func NewHTTPServerIfConfigured(config *service.Config, serviceHandler *service.RequestHandler) (service.Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcClientsIfConfigured ¶
NewGrpcClientsIfConfigured takes in a Config and returns an instance of gRPC-backed Client for every configured gRPC downstream service
func NewGrpcServerIfConfigured ¶
func NewGrpcServerIfConfigured(config *service.Config, serviceHandler *service.RequestHandler) (service.Server, error)
NewGrpcServerIfConfigured returns a gRPC-backed Server
func NewHTTPClientsIfConfigured ¶
NewHTTPClientsIfConfigured takes in a Config and returns an instance of HTTP-backed Client for every configured HTTP downstream service
func NewHTTPServerIfConfigured ¶
func NewHTTPServerIfConfigured(config *service.Config, serviceHandler *service.RequestHandler) (service.Server, error)
NewHTTPServerIfConfigured returns a HTTP-backed Server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.