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 NewServer ¶
@securityDefinitions.apikey BearerAuth @in header @name Authorization @description Type "Bearer" followed by a space and JWT token.
func (*Server) WriteError ¶
func (s *Server) WriteError(w http.ResponseWriter, err errlocal.LocalError)
func (*Server) WriteResponse ¶
func (s *Server) WriteResponse(w http.ResponseWriter, status int, data any)
Click to show internal directories.
Click to hide internal directories.