auth

package
v0.0.0-...-3cdc2b7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func NewHandlers

func NewHandlers(logger *log.Logger) *Handlers

func (*Handlers) SetupRoutes

func (h *Handlers) SetupRoutes(r *chi.Mux)

type OutMemberShip

type OutMemberShip struct {
	model.Membership
	Group *model.Group `json:"group"`
}

type OutUser

type OutUser struct {
	model.Base
	Username    string           `json:"username"`
	Displayname string           `json:"displayname"`
	Pass        string           `json:"-"`
	Memberships []*OutMemberShip `json:"memberships"`
	Sessions    []*model.Session `json:"sessions"`
}

Jump to

Keyboard shortcuts

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