Documentation ¶
Index ¶
Constants ¶
View Source
const AuthorizationHeader = "Authorization"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateHTTPRequest ¶
type AuthenticateHTTPRequest struct {
Token string `json:"token" binding:"required"`
}
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config, service *domain.Service, authenticationService *authentication.AuthenticationService, eventsManager events.EventsManager) *HttpServer
func (*HttpServer) Start ¶
func (s *HttpServer) Start() (returnErr error)
type LoginHTTPRequest ¶
type LoginHTTPRequest struct {
Ticket string `json:"ticket" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.