server

package
v0.0.0-...-45605f7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 63 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root() *cobra.Command

Types

type App

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

func (*App) Close

func (a *App) Close() error

func (*App) FetchEvents

func (a *App) FetchEvents(ctx context.Context, start time.Time) error

func (*App) HandleEvents

func (a *App) HandleEvents(ctx context.Context, e dispatch.MessageEvent) error

func (*App) HandleGitHubPersonalToken

func (a *App) HandleGitHubPersonalToken(ctx context.Context, e dispatch.MessageEvent) error

func (*App) HandleGitHubTest

func (a *App) HandleGitHubTest(ctx context.Context, e dispatch.MessageEvent) error

func (*App) OnButton

func (a *App) OnButton(ctx context.Context, e dispatch.Button) (rerr error)

func (*App) Run

func (a *App) Run(ctx context.Context) error

type Readiness

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

Readiness is a simple readiness check aggregator.

func (*Readiness) Ready

func (r *Readiness) Ready() bool

func (*Readiness) Register

func (r *Readiness) Register() *atomic.Bool

Jump to

Keyboard shortcuts

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