handlers

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: 0BSD Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptNKey

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

TODO: enable client authentication

func Cook added in v0.0.4

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

func DeleteNKey

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

func DenyNKey

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

func GetCertificate

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

func GetNKey

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

func GetVersion added in v0.0.3

func GetVersion(w http.ResponseWriter, _ *http.Request)

func ListNKey

func ListNKey(w http.ResponseWriter, _ *http.Request)

func PutNKey

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

TODO: add callback event for when new key is PUT to the server

func RegisterEC added in v0.0.13

func RegisterEC(n *nats.EncodedConn)

func RejectNKey

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

func SetBuildVersion added in v0.0.3

func SetBuildVersion(v types.Version)

func UnacceptNKey

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

Types

This section is empty.

Directories

Path Synopsis
ingredients
cmd

Jump to

Keyboard shortcuts

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