Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadOperations ¶
type ReadOperations interface {
MessageHistory(channel string, startTime time.Time) ([]string, error)
}
ReadOperations defines the read operations that can be done to Slack
func NewReadClient ¶
func NewReadClient(userName, tokenPath string) (ReadOperations, error)
NewReadClient reads token file and stores it for later authentication
type WriteOperations ¶
WriteOperations defines the write operations that can be done to Slack
func NewWriteClient ¶
func NewWriteClient(userName, tokenPath string) (WriteOperations, error)
NewWriteClient reads token file and stores it for later authentication
Click to show internal directories.
Click to hide internal directories.