Documentation
¶
Index ¶
- type Annotation
- type Client
- func (c *Client) Acknowledge(ctx context.Context, annotationID string) error
- func (c *Client) Dismiss(ctx context.Context, annotationID, reason string) error
- func (c *Client) GetPending(ctx context.Context, sessionID, projectID string) (*PendingResponse, error)
- func (c *Client) GetSession(ctx context.Context, sessionID string) (*SessionWithAnnotations, error)
- func (c *Client) ListSessions(ctx context.Context, projectID string) ([]Session, error)
- func (c *Client) Reply(ctx context.Context, annotationID, message string) error
- func (c *Client) Resolve(ctx context.Context, annotationID, summary string) error
- func (c *Client) Watch(ctx context.Context, opts WatchOptions) (*WatchOutput, error)
- type PendingResponse
- type Session
- type SessionWithAnnotations
- type ThreadMessage
- type WatchOptions
- type WatchOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation = protocol.Annotation
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Acknowledge ¶
func (*Client) GetPending ¶
func (*Client) GetSession ¶
func (*Client) ListSessions ¶
func (*Client) Watch ¶
func (c *Client) Watch(ctx context.Context, opts WatchOptions) (*WatchOutput, error)
type PendingResponse ¶
type PendingResponse = protocol.PendingResponse
type SessionWithAnnotations ¶
type SessionWithAnnotations = protocol.SessionWithAnnotations
type ThreadMessage ¶
type ThreadMessage = protocol.ThreadMessage
type WatchOptions ¶
type WatchOutput ¶
type WatchOutput struct {
Timeout bool `json:"timeout"`
Message string `json:"message,omitempty"`
Count int `json:"count,omitempty"`
Sessions []string `json:"sessions,omitempty"`
Annotations []Annotation `json:"annotations,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.