utils

package
v0.0.0-...-909c4d3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HealthCheck = func(w http.ResponseWriter, r *http.Request) {
	Respond(w, Message(true, "ok"))
}

Functions

func Message

func Message(success bool, message string) map[string]interface{}

func Respond

func Respond(w http.ResponseWriter, data map[string]interface{})

func Uuid

func Uuid(n int) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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