user

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

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

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

func (*Controller) HandleShow added in v0.4.0

func (c *Controller) HandleShow() http.Handler

func (*Controller) HandleUpdate added in v0.4.0

func (c *Controller) HandleUpdate() http.Handler

type PageLabel added in v0.8.0

type PageLabel struct {
	Offset int
	Label  string
}

type Pages added in v0.8.0

type Pages struct {
	Previous int
	Current  int
	Next     int
	Offsets  []PageLabel
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL