Documentation ¶
Overview ¶
Package environment handles all variables that can be injected to Hera from the env and is passed to all packages.
Index ¶
Constants ¶
View Source
const ( GrpcTransportProtocol = "grpc" HttpTransportProtocol = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { PrivateKey *rsa.PrivateKey PrivateKeyString string PublicKey *rsa.PublicKey PublicKeyString string InMemoryConfigs []string DefaultDb string EncryptionKeys []string TransportProtocol string AdminPort string PublicPort string LogMode string Version string ConfigPath string S3Endpoint string S3Region string S3Bucket string S3Id string S3Secret string RootPassword string StorageUrlExpiresIn time.Duration }
func New ¶
func New() (*Environment, error)
Click to show internal directories.
Click to hide internal directories.