v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// APIVersion is the version for the APIs in this package
	APIVersion = "v1"

	// RoutesPrefix is the route prefix for APIs in this package
	RoutesPrefix = "/v1"
)
View Source
const (
	SlackHTTPRequestParameter = "payload"
)

Variables

View Source
var (
	ErrAuthzFailed = errors.New("authorization failed")
)

Functions

func RegisterRoutes

func RegisterRoutes(s *server.Server)

RegisterRoutes registers routes from this package on the given server

Types

type ErrResponse

type ErrResponse struct {
	Error string `json:"error"`
}

Jump to

Keyboard shortcuts

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