Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error is satellite console error type Error = errs.Class("satellite console error") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `help:"server address of the graphql api gateway and frontend app" default:"127.0.0.1:8081"` StaticDir string `help:"path to static resources" default:""` ExternalAddress string `help:"external endpoint of the satellite if hosted" default:""` StripeKey string `help:"stripe api key" default:""` // TODO: remove after Vanguard release AuthToken string `help:"auth token needed for access to registration token creation endpoint" default:""` AuthTokenSecret string `help:"secret used to sign auth tokens" releaseDefault:"" devDefault:"my-suppa-secret-key"` PasswordCost int `internal:"true" help:"password hashing cost (0=automatic)" default:"0"` }
Config contains configuration for console web server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents console web server
Click to show internal directories.
Click to hide internal directories.