Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(authToken log.RedactedString) (c client, err error)
Types ¶
type BotProfile ¶
type BotProfile struct { }
type Message ¶
type Message struct { BotId string `json:"bot_id"` Type string `json:"type"` Text string `json:"text"` User string `json:"user"` TS string `json:"ts"` Team string `json:"team"` BotProfile BotProfile `json:"bot_profile"` Deleted bool `json:"deleted"` Updated int `json:"updated"` TeamId string `json:"team_id"` }
type Service ¶ added in v0.1.0
type Service interface { Set(task Task) error Tasks() []scheduletasks.TaskMetadata }
func Init ¶ added in v0.1.0
func Init(s stream.Stream, consBuild consensus.ConsBuilderFunc, scr screenshot.Store, cryptoKey log.RedactedString, ctx context.Context) (out Service, err error)
Click to show internal directories.
Click to hide internal directories.