utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Message

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

func ReadXML

func ReadXML()

func Respond

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

func RespondString

func RespondString(w http.ResponseWriter, data string)

Types

type XML

type XML struct {
	XMLName  xml.Name `xml:"id"`
	Producer string   `xml:"producer"`
}

Jump to

Keyboard shortcuts

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