slack

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClockType

type ClockType int
const (
	ClockTypeClockIn ClockType = iota + 1
	ClockTypeClockOut
	ClockTypeGoOut
	ClockTypeReturned
)

type SlackClient

type SlackClient interface {
	Action(ctx context.Context, clockType ClockType) ([]*SlackResult, error)
}

func NewSlackClient

func NewSlackClient(cfg *config.ConfigSlack) SlackClient

type SlackResult

type SlackResult struct {
	ChannelId   string
	ChannelName string
	Timestamp   string
}

Jump to

Keyboard shortcuts

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