Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
func WithDuration ¶
WithDuration sets the duration to read logs. Default is 10 minutes.
func WithHTTPClient ¶
func WithHTTPClient(httpClient interfaces.HTTPClient) Option
WithHTTPClient sets a HTTP client to send requests to Slack API.
func WithMaxPages ¶
WithMaxPages sets the maximum number of pages to read. Default is 0, which means it reads logs until there are no more logs.
Click to show internal directories.
Click to hide internal directories.