Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IsDev bool Port int DbAddress string SecretsPath string MigrationsPath string ConstructionZonePath string }
Config contains vital environment metadata used through out the backend.
type Credentials ¶
type Credentials struct {
GithubPush UserPass `json:"githubPushCreds"`
}
Credentials holds all the authentication metadata needed by gophr backend modules.
func ReadCredentials ¶
func ReadCredentials(conf *Config) (*Credentials, error)
ReadCredentials reads credentials from the credentials secret.
Click to show internal directories.
Click to hide internal directories.