controllers

package
v0.0.0-...-03a2475 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	web.Controller
}

func (*AuthController) Register

func (c *AuthController) Register()

func (*AuthController) SignIn

func (c *AuthController) SignIn()

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

type FormatResponse

type FormatResponse struct {
	Data any `json:"data"`
}

type RegisterRequestBody

type RegisterRequestBody struct {
	Account  string `json:"account"`
	Password string `json:"password"`
}

type SessionController

type SessionController struct {
	web.Controller
}

func (*SessionController) SessionInfo

func (c *SessionController) SessionInfo()

type SignInRequestBody

type SignInRequestBody struct {
	Account  string `json:"account"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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