controllers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Album

type Album struct {
	*base.Controller[models.Album, uint64]
	// contains filtered or unexported fields
}

func NewAlbum

func NewAlbum() *Album

type AlbumHasPhoto

type AlbumHasPhoto struct {
	*base.Controller[models.AlbumHasPhoto, uint64]
}

func NewAlbumHasPhoto

func NewAlbumHasPhoto() *AlbumHasPhoto

func (*AlbumHasPhoto) Store added in v0.0.4

func (r *AlbumHasPhoto) Store(ctx http.Context) http.Response

type AlbumPhoto

type AlbumPhoto struct {
	*base.Controller[models.Photo, uint64]
}

func NewAlbumPhoto

func NewAlbumPhoto() *AlbumPhoto

type Authentication

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

func NewAuthentication

func NewAuthentication() *Authentication

func (*Authentication) Captcha

func (a *Authentication) Captcha(ctx http.Context) http.Response

func (*Authentication) ChangePassword

func (a *Authentication) ChangePassword(ctx http.Context) http.Response

func (*Authentication) Login

func (a *Authentication) Login(ctx http.Context) http.Response

func (*Authentication) Register

func (a *Authentication) Register(ctx http.Context) http.Response

func (*Authentication) Userinfo

func (a *Authentication) Userinfo(ctx http.Context) http.Response

func (*Authentication) VerifyCaptcha

func (a *Authentication) VerifyCaptcha(ctx http.Context) http.Response

type Photo

type Photo struct {
	*base.Controller[models.Photo, uint64]
}

func NewPhoto

func NewPhoto() *Photo

func (*Photo) Store

func (p *Photo) Store(ctx http.Context) http.Response

type UserController

type UserController struct {
}

func NewUserController

func NewUserController() *UserController

func (*UserController) Show

func (r *UserController) Show(ctx http.Context) http.Response

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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