Documentation ¶
Index ¶
- type Client
- func (client *Client) BuildBlocks(analyser *code.Analyser) error
- func (client *Client) BuildErrorBlocks(analyser *code.Analyser, message string) error
- func (client *Client) BuildJSBlocks(analyser *code.Analyser) error
- func (client *Client) BuildPHPBlocks(analyser *code.Analyser) error
- func (client *Client) BuildThreadBlocks(analyser *code.Analyser) error
- func (client *Client) GetBlocks() []map[string]any
- func (client *Client) SendProgressSlackBlocks(blocks []map[string]any) error
- func (client *Client) SendProgressSlackMessage(message string) error
- func (client *Client) StartConversation(analyser *code.Analyser, pipeType string) error
- type Message
- type MessageResponse
- type ResponseMessage
- type WebhookMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { OAuthToken string `json:"oauth_token"` Channel string `json:"channel"` ThreadTs string `json:"thread_ts"` Errors []string Blocks []map[string]any }
func NewTestClient ¶
func (*Client) BuildBlocks ¶
BuildBlocks Deprecated: use BuildThreadBlocks instead
func (*Client) BuildErrorBlocks ¶
func (*Client) BuildThreadBlocks ¶
func (*Client) SendProgressSlackBlocks ¶
func (*Client) SendProgressSlackMessage ¶
type MessageResponse ¶
type ResponseMessage ¶
type WebhookMessage ¶
type WebhookMessage struct {
Text string `json:"text"`
}
Click to show internal directories.
Click to hide internal directories.