api

package
v0.0.0-...-1186bd5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Callback

func Callback(w http.ResponseWriter, r *http.Request)

func Exec

func Exec(a string, b ...string) string

func Health

func Health(w http.ResponseWriter, r *http.Request)

func Login

func Login(w http.ResponseWriter, r *http.Request)

func Prepare

func Prepare(w http.ResponseWriter, r *http.Request)

Types

type Broker

type Broker struct {
	Clients        map[chan string]bool
	NewClients     chan chan string
	DefunctClients chan chan string
	Messages       chan string
}
var GlobalChan Broker

func (*Broker) ServeHTTP

func (b *Broker) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Broker) Start

func (b *Broker) Start()

type GitlabToken

type GitlabToken struct {
	AccessToken string `json:"access_token"`
}

Jump to

Keyboard shortcuts

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