api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API ...

func New

func New(authorizer *auth.Authorizer, cfg *config.SlackConfig, logger log.Logger) (*API, error)

New returns a new API or an error.

func (*API) Serve

func (a *API) Serve(stop <-chan struct{})

Serve ...

func (*API) ServeIncidentSync added in v1.1.0

func (a *API) ServeIncidentSync(stop <-chan struct{})

Incident sync cron

Jump to

Keyboard shortcuts

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