Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. Logger micrologger.Logger Middleware *middleware.Middleware Service *service.Service }
Config represents the configuration used to create a endpoint.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig provides a default configuration to create a new endpoint by best effort.
Click to show internal directories.
Click to hide internal directories.