Documentation ¶
Index ¶
- type Application
- type BadgeService
- type GitProviderService
- func NewBitbucketService(configuration *config.Config, logger *zap.Logger) (GitProviderService, error)
- func NewGithubService(configuration *config.Config, logger *zap.Logger) (GitProviderService, error)
- func NewGitlabService(configuration *config.Config, logger *zap.Logger) (GitProviderService, error)
- type Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application represents a badge generation application
func New ¶
func New(appInfo Info) (*Application, error)
New creates and returns a new instance of Application.
type BadgeService ¶
BadgeService represents a badge service
func NewStaticService ¶
NewStaticService returns a HTTP handler for the static badge service
type GitProviderService ¶
type GitProviderService interface { BadgeService // contains filtered or unexported methods }
GitProviderService represents a badge service for git providers
func NewBitbucketService ¶
func NewBitbucketService(configuration *config.Config, logger *zap.Logger) (GitProviderService, error)
NewBitbucketService returns a HTTP handler for the Bitbucket badge service
func NewGithubService ¶
NewGithubService returns a HTTP handler for the Github badge service
func NewGitlabService ¶
NewGitlabService returns a HTTP handler for the Gitlab badge service
Source Files ¶
Click to show internal directories.
Click to hide internal directories.