Documentation
¶
Index ¶
Constants ¶
View Source
const (
ErrMsgCloneRepository = "failed to clone repository"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager struct holds the configuration and state for app.
func New ¶
func New() *Manager
New() function returns a new Manager instance for the app. Generates a fatal error if unable to:
- parse the configuration from file and env vars, or...
- setup the HTTP server, or...
- register HTTP handlers for GitHub webhook events.
func (*Manager) GetAppMode ¶
GetAppMode() method returns the configured app mode for the Manager.
Click to show internal directories.
Click to hide internal directories.