Documentation ¶
Overview ¶
Package usergrp maintains the group of handlers for user access.
Index ¶
- type Handlers
- func (h Handlers) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Query(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Token(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Update(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
Handlers manages the set of user enpoints.
func (Handlers) Query ¶
Query returns a list of users with paging. [PS] handler for /users/:page/:rows [PS] Check handlers.go
Click to show internal directories.
Click to hide internal directories.