Documentation ¶
Index ¶
- Constants
- type API
- type Config
- type Context
- func (c *Context) Bind(i any) error
- func (c *Context) Done() <-chan any
- func (c *Context) Error(code int, err error)
- func (c *Context) Get(key string) any
- func (c *Context) JSON(code int, data any) error
- func (c *Context) NoContent(code int) error
- func (c *Context) Request() *http.Request
- func (c *Context) Response() http.ResponseWriter
- func (c *Context) String(code int, s string) error
- type HealthResponse
- type Middleware
Constants ¶
View Source
const ( MIN_PORT = 8000 MAX_PORT = 8100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) Response ¶ added in v0.1.6
func (c *Context) Response() http.ResponseWriter
type HealthResponse ¶ added in v0.1.7
type HealthResponse struct {
Status string `json:"status"`
}
type Middleware ¶ added in v0.1.6
type Middleware struct { Web []web.MiddlewareFunc Job []job.MiddlewareFunc Echo []echo.MiddlewareFunc }
Click to show internal directories.
Click to hide internal directories.