rant

package
v0.0.0-...-aa934f5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Slack    slack.Config      `json:"slack"`
	Host     string            `json:"host" envconfig:"HOST"`
	Database rant_store.Config `json:"database"`
}

type Service

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

func NewService

func NewService(c Config) (*Service, error)

func (*Service) AuthSlack

func (rs *Service) AuthSlack(code string) (string, error)

func (*Service) Index

func (rs *Service) Index(w io.Writer) error

func (*Service) Rant

func (rs *Service) Rant(sc slack.SlashCommand) error

func (*Service) StaticHandler

func (rs *Service) StaticHandler() http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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