twitter

package
v0.0.0-...-1f1d11f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TWEET_TEMPLATE_CLOSED = "%s ist leider seit %s Uhr geschlossen. Details unter https://status.mainframe.io/"
View Source
const TWEET_TEMPLATE_OPEN = "%s ist seit %s Uhr geöffnet, kommt vorbei! Details unter https://status.mainframe.io/"

Variables

This section is empty.

Functions

This section is empty.

Types

type MockImpl

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

func (*MockImpl) Send

func (t *MockImpl) Send(msg string) error

type TwitterApi

type TwitterApi interface {
	Send(msg string) error
}

func NewMockingImpl

func NewMockingImpl() TwitterApi

func NewTwitterImpl

func NewTwitterImpl(c conf.TwitterConf) TwitterApi

type TwitterHandler

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

func NewTwitterHandler

func NewTwitterHandler(config conf.TwitterConf, evManager events.EventManager, appState *state.State) *TwitterHandler

Jump to

Keyboard shortcuts

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