v1

package
v0.0.0-...-9b87864 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointActivateNamespace

func EndpointActivateNamespace(ctx *fiber.Ctx) error

EndpointActivateNamespace handles the POST /v1/namespaces/:namespace/activate endpoint

func EndpointCreateInvite

func EndpointCreateInvite(ctx *fiber.Ctx) error

EndpointCreateInvite handles the POST /v1/invites/:code? endpoint

func EndpointCreateNamespace

func EndpointCreateNamespace(ctx *fiber.Ctx) error

EndpointCreateNamespace handles the POST /v1/namespaces/:namespace endpoint

func EndpointCreatePasteElement

func EndpointCreatePasteElement(ctx *fiber.Ctx) error

EndpointCreatePasteElement handles the POST /v1/elements/:namespace/paste/:key? endpoint

func EndpointCreateRedirectElement

func EndpointCreateRedirectElement(ctx *fiber.Ctx) error

EndpointCreateRedirectElement handles the POST /v1/elements/:namespace/redirect/:key? endpoint

func EndpointDeactivateNamespace

func EndpointDeactivateNamespace(ctx *fiber.Ctx) error

EndpointDeactivateNamespace handles the POST /v1/namespaces/:namespace/deactivate endpoint

func EndpointDeleteElement

func EndpointDeleteElement(ctx *fiber.Ctx) error

EndpointDeleteElement handles the DELETE /v1/elements/:namespace/:key endpoint

func EndpointDeleteInvite

func EndpointDeleteInvite(ctx *fiber.Ctx) error

EndpointDeleteInvite handles the DELETE /v1/invites/:code endpoint

func EndpointDeleteNamespace

func EndpointDeleteNamespace(ctx *fiber.Ctx) error

EndpointDeleteNamespace handles the DELETE /v1/namespaces/:namespace endpoint

func EndpointGetElement

func EndpointGetElement(ctx *fiber.Ctx) error

EndpointGetElement handles the GET /v1/elements/:namespace/:key endpoint

func EndpointGetInfo

func EndpointGetInfo(ctx *fiber.Ctx) error

EndpointGetInfo handles the GET /v1/info endpoint

func EndpointGetNamespace

func EndpointGetNamespace(ctx *fiber.Ctx) error

EndpointGetNamespace handles the GET /v1/namespaces/:namespace endpoint

func EndpointListElements

func EndpointListElements(ctx *fiber.Ctx) error

EndpointListElements handles the GET /v1/elements endpoint

func EndpointListInvites

func EndpointListInvites(ctx *fiber.Ctx) error

EndpointListInvites handles the GET /v1/invites endpoint

func EndpointListNamespaceElements

func EndpointListNamespaceElements(ctx *fiber.Ctx) error

EndpointListNamespaceElements handles the GET /v1/elements/:namespace endpoint

func EndpointListNamespaces

func EndpointListNamespaces(ctx *fiber.Ctx) error

EndpointListNamespaces handles the GET /v1/namespaces endpoint

func EndpointResetNamespaceToken

func EndpointResetNamespaceToken(ctx *fiber.Ctx) error

EndpointResetNamespaceToken handles the POST /v1/namespaces/:namespace/resetToken endpoint

func EndpointValidateInvite

func EndpointValidateInvite(ctx *fiber.Ctx) error

EndpointValidateInvite handles the GET /v1/invites/:code endpoint

func MiddlewareAdminAuth

func MiddlewareAdminAuth(ctx *fiber.Ctx) error

MiddlewareAdminAuth handles admin token authentication

func MiddlewareInjectNamespace

func MiddlewareInjectNamespace(ctx *fiber.Ctx) error

MiddlewareInjectNamespace injects the requested namespace if it exists

func MiddlewareRequireAdminAuth

func MiddlewareRequireAdminAuth(ctx *fiber.Ctx) error

MiddlewareRequireAdminAuth handles admin token authentication requirement

func MiddlewareTokenAuth

func MiddlewareTokenAuth(ctx *fiber.Ctx) error

MiddlewareTokenAuth handles namespace token authentication

Types

This section is empty.

Jump to

Keyboard shortcuts

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