controller

package
v0.0.0-...-6e75e83 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	responder.Responder
	godecoder.Decoder
	// contains filtered or unexported fields
}

func (*User) Info

func (a *User) Info(w http.ResponseWriter, r *http.Request)

func (*User) Save

func (a *User) Save(w http.ResponseWriter, r *http.Request)

type Userer

type Userer interface {
	Info(w http.ResponseWriter, r *http.Request)
	Save(w http.ResponseWriter, r *http.Request)
}

func NewUserController

func NewUserController(service service.Userer, components *component.Components) Userer

Jump to

Keyboard shortcuts

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