slack

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModules

func NewModules() fx.Option

func NewSlackBot

func NewSlackBot() func(param NewSlackBotParam) *Bot

func Run

func Run() func(bot *Bot) error

Types

type Bot

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

func (*Bot) Check

func (s *Bot) Check(ctx context.Context) error

type NewSlackBotParam

type NewSlackBotParam struct {
	fx.In

	Lifecycle fx.Lifecycle

	Config *configs.Config
	Logger *logger.Logger

	SMR *smr.Model

	Ent *datastore.Ent
}

Jump to

Keyboard shortcuts

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