core

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gadget

type Gadget struct {
	Router router.Router
	Client *slack.Client
}

func Setup

func Setup() (*Gadget, error)

func SetupWithConfig added in v0.2.2

func SetupWithConfig(token, secret, databaseUser, databasePass, databaseHost, databaseName, port string, globalAdmins []string) (*Gadget, error)

func (Gadget) Handler added in v0.3.0

func (gadget Gadget) Handler() http.Handler

Handler returns an http.Handler with all Gadget routes registered.

func (Gadget) Run

func (gadget Gadget) Run() error

Jump to

Keyboard shortcuts

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