accounts

package
v0.0.0-...-4151d87 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(app *app.App) http.Handler

Create Handler for `/v1/accounts/`

Types

type AccountCreateRequest

type AccountCreateRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Request body for `POST /v1/accounts`

Jump to

Keyboard shortcuts

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