internal

package
v0.0.0-...-8f57d3b Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubApprove

func GitHubApprove(caller, pr, username, password string) error

Types

type EventType

type EventType struct {
	Type  string
	Event struct {
		Type string
	}
}

type MessageCallback

type MessageCallback struct {
	Type  string
	Event struct {
		Type    string
		Text    string
		Channel string
		User    string
	}
}

type Server

type Server struct {
	GithubUser  string
	GithubToken string
	SlackToken  string
}

func NewServer

func NewServer(name string) *Server

func (*Server) SlackHandler

func (s *Server) SlackHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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