Documentation ¶
Index ¶
- func NewAgentHookGrpcInterflow(c GrpcConfig, logger log.Logger) (interflow.AgentInterflow, error)
- func NewAgentHookHttpInterflow(c HttpConfig, logger log.Logger) (interflow.AgentInterflow, error)
- func NewServerHookGrpcInterflow(network interflow.Network, logger log.Logger) interflow.ServerInterflow
- func NewServerHookHttpInterflow(logger log.Logger) interflow.ServerInterflow
- type Config
- type GrpcConfig
- type GrpcServerConfig
- type HttpConfig
- type HttpServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentHookGrpcInterflow ¶
func NewAgentHookGrpcInterflow(c GrpcConfig, logger log.Logger) (interflow.AgentInterflow, error)
func NewAgentHookHttpInterflow ¶
func NewAgentHookHttpInterflow(c HttpConfig, logger log.Logger) (interflow.AgentInterflow, error)
func NewServerHookHttpInterflow ¶
func NewServerHookHttpInterflow(logger log.Logger) interflow.ServerInterflow
Types ¶
type Config ¶
type Config interface { GetHttp() HttpConfig GetGrpc() GrpcConfig }
type GrpcConfig ¶
type GrpcConfig interface { GetAgent() GrpcServerConfig GetServer() GrpcServerConfig }
type GrpcServerConfig ¶
type GrpcServerConfig interface {
GetEndpoints() []string
}
type HttpConfig ¶
type HttpConfig interface { GetAgent() HttpServerConfig GetServer() HttpServerConfig }
type HttpServerConfig ¶
type HttpServerConfig interface {
GetUrl() string
}
Click to show internal directories.
Click to hide internal directories.