apic

package
v0.0.0-...-d4ae0db Latest Latest
Warning

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

Go to latest
Published: Mar 3, 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 Handler

type Handler struct {
	Store db.Store
}

func NewHandler

func NewHandler(store db.Store) Handler

func (*Handler) CreateAccount

func (handler *Handler) CreateAccount() http.HandlerFunc

func (*Handler) DeleteAccount

func (handler *Handler) DeleteAccount() http.HandlerFunc

func (*Handler) GetAccount

func (handler *Handler) GetAccount() http.HandlerFunc

func (*Handler) IndexAccount

func (handler *Handler) IndexAccount() http.HandlerFunc

func (*Handler) UpdateAccount

func (handler *Handler) UpdateAccount() http.HandlerFunc

type ListAccountsRequest

type ListAccountsRequest struct {
	Limit  int32 `form:"limit" validate:"required,min=1"`
	Offset int32 `form:"offset" validate:"required,min=5"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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