package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Mar 9, 2020
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetStatus godoc
@Summary API Healthcheck
@Description get string by GET
@Produce json
@Success 200 {object} APIStatus
@Router /status [get]
type APIStatus struct {
Status string
}
APIStatus godoc
type AuthConfig struct {
ServerName string `json:"serverName" binding:"required"`
Server string `json:"server" binding:"required"`
Token string `json:"token" binding:"required"`
ServerCADataString string `json:"serverCADataString" binding:"required"`
}
AuthConfig godoc
type AuthError struct {
Error error `json: "error"`
Code int `json: "code"`
Message string `json: "message"`
}
AuthError godoc
Source Files
¶
Click to show internal directories.
Click to hide internal directories.