Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VERSION is set during build VERSION string // APIHostname is the hostname for the API APIHostname string // APIAddress is the username for the API APIAddress string // APIToken is the username for the API APIToken string // FallbackHostname is used if no custom hostname FallbackHostname = "https://api.clinot.es" )
View Source
var RootCmd = &cobra.Command{
Use: "cn",
Short: "Access clinot.es from the command line",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Error bool `json:"error"`
Message string `json:"message"`
Done bool `json:"done"`
}
APIErrorResponse stores information from the API
Click to show internal directories.
Click to hide internal directories.