Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(port, endpoint string)
StartServer starts an EntryServer listening on port and connects to DockerSwarm with endpoint.
Types ¶
type ConsoleAuthConf ¶
type ConsoleAuthResponse ¶
type ConsoleAuthResponse struct {
Message string `json:"msg"`
URL string `json:"url"`
Role ConsoleRole `json:"role"`
}
type ConsoleRole ¶
type ConsoleRole struct {
Role string `json:"role"`
}
type EntryServer ¶
type EntryServer struct {
// contains filtered or unexported fields
}
func (EntryServer) ServeHTTP ¶
func (server EntryServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.