Documentation
¶
Index ¶
- type Context
- func (c *Context) GetParameter(key string) string
- func (c *Context) GetRequest() *http.Request
- func (c *Context) GetResponseWriter() http.ResponseWriter
- func (c *Context) RespondJson(statusCode int, data any)
- func (c *Context) RespondString(s string)
- func (c *Context) SetParameters(p map[string]string)
- func (c *Context) SetRequest(r *http.Request)
- func (c *Context) SetResponseWriter(w http.ResponseWriter)
- type Group
- type Handler
- type Route
- type WSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) GetParameter ¶
func (*Context) GetRequest ¶
func (*Context) GetResponseWriter ¶
func (c *Context) GetResponseWriter() http.ResponseWriter
func (*Context) RespondJson ¶
func (*Context) RespondString ¶
func (*Context) SetParameters ¶
func (*Context) SetRequest ¶
func (*Context) SetResponseWriter ¶
func (c *Context) SetResponseWriter(w http.ResponseWriter)
type WSClient ¶ added in v0.0.16
type WSClient struct {
// contains filtered or unexported fields
}
func (*WSClient) SetConnection ¶ added in v0.0.16
Click to show internal directories.
Click to hide internal directories.