Documentation ¶
Index ¶
- func LoopUntilCancel(wg *sync.WaitGroup, logger *zap.Logger, intervalMs int, f func() error)
- func MakeEchoErrorHandler(logger *zap.Logger) echo.HTTPErrorHandler
- func MakeStatusErr(code int, message string, inner error) error
- func SetupConfigFromEnv(s interface{}) error
- type HttpHandleableError
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoopUntilCancel ¶
func MakeEchoErrorHandler ¶
func SetupConfigFromEnv ¶
func SetupConfigFromEnv(s interface{}) error
Types ¶
type HttpHandleableError ¶
type HttpHandleableError interface { error Handle(c echo.Context) }
type StatusError ¶
type StatusError struct {
// contains filtered or unexported fields
}
func (StatusError) Code ¶
func (se StatusError) Code() int
func (StatusError) Error ¶
func (se StatusError) Error() string
func (StatusError) Handle ¶
func (se StatusError) Handle(c echo.Context)
Click to show internal directories.
Click to hide internal directories.