handlers

package
v0.0.0-...-d40a08f Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheckHandler

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

Verifies that the application is ready to handle requests

func InitiateSecretHandler

func InitiateSecretHandler(s string) error

func SecretHandler

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

SecretHandler processes both GET and POST requests

Types

type PlainText

type PlainText struct {
	PlainText string `json:"plain_text"`
}

type SecretData

type SecretData struct {
	Data string `json:"data"`
}

type SecretID

type SecretID struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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