http

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubClient

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

func NewGithubClient

func NewGithubClient(token string) *GithubClient

func (GithubClient) Get

func (c GithubClient) Get(url string) ([]byte, error)

type GithubHttpClient

type GithubHttpClient interface {
	Get(url string) ([]byte, error)
}

type SlackClient

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

func NewSlackClient

func NewSlackClient(webhookUrl string) *SlackClient

func (*SlackClient) Send

func (c *SlackClient) Send(text string) error

type SlackHttpClient

type SlackHttpClient interface {
	Send(text string) error
}

Jump to

Keyboard shortcuts

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