Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Han are the server specific handlers implementing the actual business
// logic.
Han []handler.Interface
// Int are the Twirp specific interceptors wrapping the endpoint handlers.
Int []twirp.Interceptor
// Lis is the main HTTP listener bound to some configured host and port.
Lis net.Listener
// Log is the structured logger passed down the stack.
Log logger.Interface
// Mid are the protocol specific transport layer middlewares executed before
// any RPC handler.
Mid []mux.MiddlewareFunc
}
Click to show internal directories.
Click to hide internal directories.