Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Service is the service to use. // It can be "github", "dm", or "all". // If it is not set, no service will be used. Service []string `yaml:"service" mapstructure:"service"` // GitHub is the configuration for the GitHub service. GitHub githubConfig `yaml:"github" mapstructure:"github"` // DM is the configuration for the DM service. DM dmConfig `yaml:"dm" mapstructure:"dm"` }
Config is the configuration for the service.
type ErrUnrecognizedServices ¶
type ErrUnrecognizedServices struct {
// contains filtered or unexported fields
}
ErrUnrecognizedServices is the error for unrecognized services.
func (*ErrUnrecognizedServices) Error ¶
func (e *ErrUnrecognizedServices) Error() string
Error returns the error message.
func (*ErrUnrecognizedServices) Is ¶
func (e *ErrUnrecognizedServices) Is(target error) bool
Is checks if the target is an ErrUnknownService.
Click to show internal directories.
Click to hide internal directories.