server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubEventProcessor

type GithubEventProcessor func(eventType string, deliveryID string, payload []byte)

type Scheduler

type Scheduler interface {
	Schedule(d dispatch)
}

func NewGithubEventScheduler

func NewGithubEventScheduler(queueSize int, workers int) (Scheduler, error)

type Server

type Server interface {
	Start(ctx context.Context) error
	Stop() error
}

func New

func New() Server

Jump to

Keyboard shortcuts

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