Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DogHouseClient ¶
type DogHouseClient struct { Client *http.Client // Base URL for API requests. Defaults is https://reviewdog.app BaseURL *url.URL }
DogHouseClient is client for doghouse server.
func (*DogHouseClient) Check ¶
func (c *DogHouseClient) Check(ctx context.Context, req *doghouse.CheckRequest) (*doghouse.CheckResponse, error)
Check send check requests to doghouse.
type DogHouseClientInterface ¶
type DogHouseClientInterface interface {
Check(ctx context.Context, req *doghouse.CheckRequest) (*doghouse.CheckResponse, error)
}
DogHouseClientInterface is interface for doghouse client.
type GitHubClient ¶
GitHubClient is client which talks to GitHub directly instead of talking to doghouse server.
func (*GitHubClient) Check ¶
func (c *GitHubClient) Check(ctx context.Context, req *doghouse.CheckRequest) (*doghouse.CheckResponse, error)
Click to show internal directories.
Click to hide internal directories.