Documentation
¶
Index ¶
- type GitHub
- type GitHubConfig
- type Slack
- func (s *Slack) GetOAuthV2Response(ctx context.Context, input *service.GetOAuthV2ResponseInput) (*service.GetOAuthV2ResponseOutput, error)
- func (s *Slack) PostSlackMessage(ctx context.Context, input *service.PostSlackMessageInput) (*service.PostSlackMessageOutput, error)
- func (s *Slack) PostSlackWebhook(ctx context.Context, input *service.PostSlackWebhookInput) (*service.PostSlackWebhookOutput, error)
- func (s *Slack) RefreshOAuthV2Response(ctx context.Context, input *service.RefreshOAuthV2ResponseInput) (*service.RefreshOAuthV2ResponseOutput, error)
- type SlackConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func NewGitHub ¶
func NewGitHub(cfg *GitHubConfig) (*GitHub, error)
func (*GitHub) ParseGitHubIDToken ¶
func (g *GitHub) ParseGitHubIDToken(ctx context.Context, input *service.ParseGitHubIDTokenInput) (*service.ParseGitHubIDTokenOutput, error)
type GitHubConfig ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func NewSlack ¶
func NewSlack(cfg *SlackConfig) (*Slack, error)
func (*Slack) GetOAuthV2Response ¶
func (s *Slack) GetOAuthV2Response(ctx context.Context, input *service.GetOAuthV2ResponseInput) (*service.GetOAuthV2ResponseOutput, error)
GetOAuthV2Response gets an OAuthV2Response from Slack.
func (*Slack) PostSlackMessage ¶
func (s *Slack) PostSlackMessage(ctx context.Context, input *service.PostSlackMessageInput) (*service.PostSlackMessageOutput, error)
func (*Slack) PostSlackWebhook ¶
func (s *Slack) PostSlackWebhook(ctx context.Context, input *service.PostSlackWebhookInput) (*service.PostSlackWebhookOutput, error)
PostSlackWebhook posts a message to Slack using Incoming Webhooks.
func (*Slack) RefreshOAuthV2Response ¶
func (s *Slack) RefreshOAuthV2Response(ctx context.Context, input *service.RefreshOAuthV2ResponseInput) (*service.RefreshOAuthV2ResponseOutput, error)
type SlackConfig ¶
Click to show internal directories.
Click to hide internal directories.