Documentation ¶
Index ¶
- Variables
- func Router(s *router.Router[*http.Stream[server.Conn], any])
- func Start(host string, fn func())
- type Controller
- func (c *Controller) Error(stream *http.Stream[server.Conn], msg any) error
- func (c *Controller) Failed(stream *http.Stream[server.Conn], msg any) error
- func (c *Controller) Forbidden(stream *http.Stream[server.Conn], msg any) error
- func (c *Controller) Success(stream *http.Stream[server.Conn], msg any) error
- func (c *Controller) WithCode(stream *http.Stream[server.Conn], code int, msg any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Action = new(action)
View Source
var Middleware = &middleware{}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.