Documentation ¶
Index ¶
- type Server
- type ServerOpt
- func WithAdmin(a admin.AdminService) ServerOpt
- func WithBindAddress(bindAddress string) ServerOpt
- func WithConfig(config *server.ServerConfig) ServerOpt
- func WithDispatcher(d dispatcher.Dispatcher) ServerOpt
- func WithIngestor(i ingestor.Ingestor) ServerOpt
- func WithInsecure() ServerOpt
- func WithLogger(l *zerolog.Logger) ServerOpt
- func WithPort(port int) ServerOpt
- func WithTLSConfig(tls *tls.Config) ServerOpt
- type ServerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { eventcontracts.UnimplementedEventsServiceServer dispatchercontracts.UnimplementedDispatcherServer admincontracts.UnimplementedWorkflowServiceServer // contains filtered or unexported fields }
type ServerOpt ¶
type ServerOpt func(*ServerOpts)
func WithAdmin ¶
func WithAdmin(a admin.AdminService) ServerOpt
func WithBindAddress ¶
func WithConfig ¶ added in v0.7.0
func WithConfig(config *server.ServerConfig) ServerOpt
func WithDispatcher ¶
func WithDispatcher(d dispatcher.Dispatcher) ServerOpt
func WithIngestor ¶
func WithInsecure ¶
func WithInsecure() ServerOpt
func WithLogger ¶
func WithTLSConfig ¶
type ServerOpts ¶
type ServerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.