Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Port: 3000,
User: "ss-o",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Host string `opts:"help=host, env=HTTP_HOST"`
Port int `opts:"help=port, env"`
User string `opts:"help=default user for URL requests, env"`
Token string `opts:"help=token for GitHub API, env=GITHUB_TOKEN"`
ForceUser string `opts:"help=forcefully use single owner, env=FORCE_USER"`
ForceRepo string `opts:"help=forcefully use a single repository, env=FORCE_REPO"`
}
Configuration for the server.
type Handler ¶
type Handler struct {
Config
// contains filtered or unexported fields
}
Handler serves install scripts using Github releases
Click to show internal directories.
Click to hide internal directories.