utils

package
v0.0.0-...-12f1d27 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a []string, x string) bool

Contains func

func Error

func Error(w http.ResponseWriter, code int, err error)

Error func

func Message

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

Message func

func Respond

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

Respond func

func TokenGenerator

func TokenGenerator() string

TokenGenerator func

Types

This section is empty.

Jump to

Keyboard shortcuts

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