Documentation
¶
Index ¶
- Constants
- Variables
- func ApiPing(w http.ResponseWriter, r *http.Request)
- func ExportDict(dic Dict) ([]byte, error)
- func LogError(w io.Writer, sym string, err error)
- func LogFatal(w io.Writer, sym string, err error)
- func LogMessage(w io.Writer, msg string)
- func SendDict(dic Dict, w io.Writer) error
- func SetCors(w *http.ResponseWriter)
- func Usage()
- type Dict
Constants ¶
View Source
const ( KEY_CMD = "cmd" KEY_ARG = "arg" KEY_STDIN = "stdin" )
View Source
const ( KEY_KEYS = "key" KEY_VALS = "val" )
View Source
const ( PORT = ":8800" FMT_LOG = "%s => %s\n" CONFIG = "config.json" ERRC = 1 )
View Source
const ( KEY_SVC = "svc" KEY_MSG = "msg" )
View Source
const ( FD_MODE = 0660 KEY_ID = "id" )
View Source
const API_PORT = ":80"
Variables ¶
View Source
var ( SvcName = "Atlas Microservice" SvcVers = "0.0" )
Functions ¶
func ExportDict ¶
func LogMessage ¶
func SetCors ¶
func SetCors(w *http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.