Documentation ¶
Overview ¶
Package user contains web controllers for listing and adding users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages users
func New ¶
func New(ctx context.Context, config *config.ServerConfig, db *database.Database, h *render.Renderer) *Controller
New creates a new controller for managing users.
func (*Controller) HandleCreate ¶
func (c *Controller) HandleCreate() http.Handler
func (*Controller) HandleDelete ¶
func (c *Controller) HandleDelete() http.Handler
func (*Controller) HandleIndex ¶
func (c *Controller) HandleIndex() http.Handler
Click to show internal directories.
Click to hide internal directories.