Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AuthTypeBasic basic authentification AuthTypeBasic string = "basic" )
Variables ¶
This section is empty.
Functions ¶
func GetLastModified ¶
GetLastModified returns last modified timestamp for setting Last-Modified header
func GetLastModifiedHash ¶
func GetLastModifiedHash() uint32
GetLastModifiedHash returns a hash that can be used to build an ETag
Types ¶
type Configuration ¶
type Configuration struct { Server struct { AuthType string `yaml:"authtype"` BasicAuth struct { UserName string `yaml:"username"` Password string `yaml:"password"` } `yaml:"basicauth"` } `yaml:"server"` CloudFoundries map[string]struct { APIURL string `yaml:"apiURL"` UAAURL string `yaml:"uaaURL"` UserName string `yaml:"username"` Password string `yaml:"password"` Labels []string `yaml:"labels"` } `yaml:"cloudfoundries"` }
Configuration struct for server configuration
Click to show internal directories.
Click to hide internal directories.