Documentation ¶
Index ¶
- func DoErrorResponse(ctx *fasthttp.RequestCtx, e errors.APIError)
- type ErrorResponse
- type Server
- func (s Server) GetConcurrentConnections() int32
- func (s *Server) HandleHealth(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleSessionMutation(gctx global.Context)
- func (s *Server) Middleware() func(next http.Handler) http.Handler
- func (s *Server) TrackConnection(gctx global.Context, r *http.Request, con client.Connection)
- type SessionMutationEventPut
- type SessionMutationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoErrorResponse ¶
func DoErrorResponse(ctx *fasthttp.RequestCtx, e errors.APIError)
Types ¶
type ErrorResponse ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) GetConcurrentConnections ¶
func (*Server) HandleHealth ¶
func (s *Server) HandleHealth(w http.ResponseWriter, r *http.Request)
func (*Server) HandleSessionMutation ¶
func (*Server) TrackConnection ¶
type SessionMutationEventPut ¶
type SessionMutationResponse ¶
type SessionMutationResponse struct {
RequestID string `json:"request_id"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.