Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Handler ¶
func (s *Server) Handler(ctx *fasthttp.RequestCtx)
Handler handles HTTP requests in the following way:
POST = Create entry, key is the request URI so 'localhost:0/testkey' key = "testkey" and the body of the request will be the key-value pair's value.
GET = Same thing with keys, but the value will be written as a response.
Click to show internal directories.
Click to hide internal directories.