Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Architecture string OperatingSystem string BaseFilename string DirectiveLine int PackageName string }
Config defines environment configuration given to the app.
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
ServiceImpl implements service.
func NewServiceImpl ¶
func NewServiceImpl(source goConfig.Source) *ServiceImpl
NewServiceImpl is a constructor.
func (*ServiceImpl) Read ¶
func (s *ServiceImpl) Read() (*Config, error)
Read reads the environment into Config. If there are any issues, an error is returned.
Click to show internal directories.
Click to hide internal directories.