external

package
v0.0.0-...-7376e40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

type GitHubConfig

type GitHubConfig struct {
	HTTPClient *http.Client
}

type Slack

type Slack struct {
	// contains filtered or unexported fields
}

func NewSlack

func NewSlack(cfg *SlackConfig) (*Slack, error)

func (*Slack) GetOAuthV2Response

GetOAuthV2Response gets an OAuthV2Response from Slack.

func (*Slack) PostSlackMessage

func (*Slack) PostSlackWebhook

PostSlackWebhook posts a message to Slack using Incoming Webhooks.

type SlackConfig

type SlackConfig struct {
	HTTPClient *http.Client
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL