Documentation ¶ Index ¶ type Health func NewHealth(logger *log.Logger, statsd *statsd.Client) *Health func (h *Health) Handle(rw http.ResponseWriter, r *http.Request) type JWT func NewJWT(logger *log.Logger, statsd *statsd.Client) *JWT func (j *JWT) Handle(rw http.ResponseWriter, r *http.Request) type LoginRequest Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Health ¶ type Health struct { // contains filtered or unexported fields } func NewHealth ¶ func NewHealth(logger *log.Logger, statsd *statsd.Client) *Health func (*Health) Handle ¶ func (h *Health) Handle(rw http.ResponseWriter, r *http.Request) type JWT ¶ type JWT struct { // contains filtered or unexported fields } func NewJWT ¶ func NewJWT(logger *log.Logger, statsd *statsd.Client) *JWT func (*JWT) Handle ¶ func (j *JWT) Handle(rw http.ResponseWriter, r *http.Request) type LoginRequest ¶ type LoginRequest struct { Username string `json:"username" validate:"email"` Password string `json:"password" validate:"max=36,min=8"` } Source Files ¶ View all Source files health.go jwt.go Click to show internal directories. Click to hide internal directories.