utils

package
v0.0.0-...-d523446 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManifestParser

func ManifestParser(id, key, server, template string) ([]byte, error)

ManifestParser parses manifests yaml and generates dynamic manifest with specified keys

func RandomString

func RandomString(n int) string

RandomString generates random strings, can be used to create ids or random secrets

func WriteHeaders

func WriteHeaders(w *http.ResponseWriter, statusCode int)

WriteHeaders adds important headers to API responses

Types

This section is empty.

Jump to

Keyboard shortcuts

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