handlers

package
v0.0.0-...-6dc645d Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedOrigins = ""
View Source
var RepoName = "unkown.json"
View Source
var RequestIdKey = "request_id"
View Source
var ServerName = "unkown"

Functions

func CommitRepoHandler

func CommitRepoHandler(s store.StoreI) http.HandlerFunc

func EchoHandler

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

func FetchRepoHandler

func FetchRepoHandler(s store.StoreI) http.HandlerFunc

func FetchVarsHandler

func FetchVarsHandler(s store.StoreI) http.HandlerFunc

func FormatResponse

func FormatResponse(w http.ResponseWriter, status int)

func HelloHandler

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

func MakeCorsObject

func MakeCorsObject() *cors.Cors

makeCorsObject takes required config and make a new cors object

func RemoveEnvVarHandler

func RemoveEnvVarHandler(s store.StoreI) http.HandlerFunc

func RemoveSecretHandler

func RemoveSecretHandler(s store.StoreI) http.HandlerFunc

func RemoveVarHandler

func RemoveVarHandler(s store.StoreI) http.HandlerFunc

func SaveEnvVarHandler

func SaveEnvVarHandler(s store.StoreI) http.HandlerFunc

func SaveRepoHandler

func SaveRepoHandler(s store.StoreI) http.HandlerFunc

func SaveSecretHandler

func SaveSecretHandler(s store.StoreI) http.HandlerFunc

func SaveVarHandler

func SaveVarHandler(s store.StoreI) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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