api

package
v0.0.0-...-4f3fdd5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(
	m *mux.Router,
	db db.DbManager,
	jar *sessions.CookieStore,
	dest string,
)

Types

type HandleTester

type HandleTester func(
	method string,
	params string,
) *httptest.ResponseRecorder

func GenerateHandleTester

func GenerateHandleTester(
	t *testing.T,
	handleFunc http.Handler,
) HandleTester

type NewUser

type NewUser struct {
	Username  string
	Password1 string
	Password2 string
}

type User

type User struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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