Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Type ContextType Context context.Context EchoContext echo.Context }
type ContextType ¶
type ContextType string
const ( CLIContext ContextType = "CLIContext" APIContext ContextType = "APIContext" )
type ServiceContext ¶
type ServiceContext struct { context.Context Type ContextType EchoContext echo.Context }
func NewContext ¶
func NewContext(config *Config) ServiceContext
Click to show internal directories.
Click to hide internal directories.