Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmtpyLifecycle ¶
func NewEmtpyLifecycle ¶
func NewEmtpyLifecycle() *EmtpyLifecycle
func (*EmtpyLifecycle) Append ¶
func (e *EmtpyLifecycle) Append(h fx.Hook)
type SlackHttpClientForTokenExpiresTest ¶
type SlackHttpClientForTokenExpiresTest struct { OtherError bool TokenExpired bool GetOAuthToken bool GetOAuthTokenError bool SendMessageOK bool // contains filtered or unexported fields }
func (*SlackHttpClientForTokenExpiresTest) Do ¶
Do will return different result for test. If token expired set to true, it will return "token_expired" error, and will return normal response next time.
func (*SlackHttpClientForTokenExpiresTest) GetInvokeNums ¶
func (c *SlackHttpClientForTokenExpiresTest) GetInvokeNums() int
Click to show internal directories.
Click to hide internal directories.