Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime the instance of our server
func CreateRuntime ¶
CreateRuntime Create a new server runtime and return it. Adds all services
type Settings ¶
type Settings struct { GoogleProjectID string BucketName string Port int GracefulShutdownTimeout time.Duration SsoURLKey string }
Settings runtime require settings
func LoadSettingsFromSystem ¶
func LoadSettingsFromSystem() *Settings
LoadSettingsFromSystem load the settings from the env vars
func (*Settings) MustValidate ¶
func (s *Settings) MustValidate()
MustValidate fail if we can't validate
Click to show internal directories.
Click to hide internal directories.