server

package
v0.0.0-...-f682ce8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const AddressKey string = "address"
View Source
const GithubKey string = "github"
View Source
const UserId string = "user_id"

Variables

This section is empty.

Functions

func HandlerCallback

func HandlerCallback(auth *authenticator.Authenticator) gin.HandlerFunc

Handler for our callback.

func HandlerLogin

func HandlerLogin(auth *authenticator.Authenticator) gin.HandlerFunc

Handler for our login.

func HandlerLogout

func HandlerLogout(ctx *gin.Context)

Handler for our logout.

func SendSlackNotification

func SendSlackNotification(msg string) error

SendSlackNotification will post to an 'Incoming Webook' url setup in Slack Apps. It accepts some text and the slack channel is saved within Slack.

Types

type Server

type Server struct {
	chain.TxBuilder
	// contains filtered or unexported fields
}

func NewServer

func NewServer(builder chain.TxBuilder) *Server

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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