flyio

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

func New

func New() *Module

func (*Module) Register

func (m *Module) Register(s *discordgo.Session)

func (*Module) RegisterHTTP added in v1.10.0

func (m *Module) RegisterHTTP(mux *http.ServeMux)

type UpdateService added in v1.10.0

type UpdateService struct {
	*Module
}

func (*UpdateService) Poke added in v1.10.0

func (*UpdateService) UpdateComponent added in v1.10.0

func (u *UpdateService) UpdateComponent(ctx context.Context, sp *statuspage.StatusUpdate)

func (*UpdateService) UpdateIncident added in v1.10.0

func (u *UpdateService) UpdateIncident(ctx context.Context, incident *statuspage.Incident)

func (*UpdateService) UpdateStatus added in v1.10.0

func (u *UpdateService) UpdateStatus(ctx context.Context, sp *statuspage.StatusUpdate)

Jump to

Keyboard shortcuts

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