Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadOnlyNotice ¶
func GetReadOnlyNotice() string
Types ¶
type GitHubClient ¶
type GitHubClient struct {
// contains filtered or unexported fields
}
func NewGitHubClient ¶
func NewGitHubClient(logger *slog.Logger) *GitHubClient
func (*GitHubClient) CallTool ¶
func (c *GitHubClient) CallTool(ctx context.Context, name string, args json.RawMessage) (interface{}, error)
func (*GitHubClient) GetRateLimiter ¶
func (c *GitHubClient) GetRateLimiter() *ratelimit.TokenBucket
func (*GitHubClient) GetTools ¶
func (c *GitHubClient) GetTools() []ToolDefinition
func (*GitHubClient) IsReadOnly ¶
func (c *GitHubClient) IsReadOnly() bool
type IssueResult ¶
type RepoResult ¶
type ToolDefinition ¶
type ToolDefinition struct {
Name string `json:"name"`
Description string `json:"description"`
InputSchema json.RawMessage `json:"inputSchema"`
}
type ToolHandler ¶
Click to show internal directories.
Click to hide internal directories.