controllers

package
v0.0.0-...-1f57904 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Auth = auth{
	Signup: http.HandlerFunc(signup),
	Login:  http.HandlerFunc(login),
	Logout: http.HandlerFunc(logout),
}
View Source
var Post = post{
	GetPosts:    http.HandlerFunc(getPosts),
	GetPostByID: http.HandlerFunc(getPostByID),
	UpdatePost:  http.HandlerFunc(updatePost),
}
View Source
var Thread = thread{
	GetThreads:              http.HandlerFunc(getThreads),
	CreateThread:            http.HandlerFunc(createThread),
	GetThreadById:           http.HandlerFunc(getThreadById),
	UpdateThread:            http.HandlerFunc(updateThread),
	GetThreadRelatedPosts:   http.HandlerFunc(getThreadRelatedPosts),
	CreateThreadRelatedPost: http.HandlerFunc(createThreadRelatedPost),
}
View Source
var User = user{
	GetUsers:  http.HandlerFunc(getUsers),
	PatchUser: http.HandlerFunc(patchUser),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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