controllers

package
v0.0.0-...-bf9708b Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AttachTagToCollectionHandler = factorAPIHandler(
	readAttachTagToCollectionRequest,
	respondAttachTagToCollection,
)
View Source
var DeleteCollectionHandler = factorAPIHandler(
	readDeleteCollectionRequest,
	respondDeleteCollection,
)
View Source
var DeleteURLFromCollection = factorAPIHandler(
	readDeleteURLFromCollectionRequest,
	respondDeleteURLFromCollection,
)
View Source
var DeleteURLHandler = factorAPIHandler(
	readDeleteURLRequest,
	respondDeleteURL,
)
View Source
var DetachTagFromCollectionHandler = factorAPIHandler(
	readDetachTagFromCollection,
	respondDetachTagFromCollection,
)
View Source
var GetCollectionHandler = factorAPIHandler(
	readGetCollectionRequest,
	respondGetCollection,
)
View Source
var GetLatestURLsHandler = factorAPIHandler(
	readGetLatestURLsRequest,
	respondGetLatestURLs,
)
View Source
var GetURLHandler = factorAPIHandler(
	readGetURLRequest,
	respondGetURL,
)
View Source
var GetURLsFromCollectionHandler = factorAPIHandler(
	readGetURLsFromCollectionRequest,
	respondGetURLsFromCollection,
)
View Source
var PostCollectionHandler = factorAPIHandler(
	readPostCollectionRequest,
	respondPostCollection,
)
View Source
var PostSessionHandler = factorAPIHandler(
	readPostSessionRequest,
	respondPostSessionRequest,
)
View Source
var PostURLhandler = factorAPIHandler(
	readPostURLRequest,
	respondPostURL,
)
View Source
var PutInCollectionHandler = factorAPIHandler(
	readPutInCollectionRequest,
	respondPutInCollection,
)
View Source
var UpdateUserHandler = factorAPIHandler(
	readUpdateUserRequest,
	respondUpdateUser,
)
View Source
var UserRegistrationHandler = factorAPIHandler(
	readUserRegistrationRequest,
	respondUserRegistration,
)

Functions

func ExtractFieldPointersIntoNamedMap

func ExtractFieldPointersIntoNamedMap[T any](in *T) (map[string]any, error)

func HelpCollectionHandler

func HelpCollectionHandler(w http.ResponseWriter, r *http.Request)

func HelpURLHandler

func HelpURLHandler(w http.ResponseWriter, r *http.Request)

func ParsePathTokens

func ParsePathTokens(path string) []string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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