Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoFlowGRPCClient ¶
type GoFlowGRPCClient struct {
// contains filtered or unexported fields
}
func NewGoFlowClient ¶
func NewGoFlowClient(connString string, opt ...GoFlowGRPCClientOption) (*GoFlowGRPCClient, error)
type GoFlowGRPCClientOption ¶
type GoFlowGRPCClientOption interface {
// contains filtered or unexported methods
}
A GoFlowGRPCClientOption sets options such as logger, request timeout, etc.
func WithLogger ¶
func WithLogger(logger log.Logger) GoFlowGRPCClientOption
WithLogger allows you to set logger that will report on basic server start/stop operations.
func WithRequestTimeout ¶
func WithRequestTimeout(requestTimeout time.Duration) GoFlowGRPCClientOption
WithRequestTimeout allows you to set the time the client will wait after sending a request before timing out.
Click to show internal directories.
Click to hide internal directories.