Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(params Params) changeprovider.ChangeProvider
NewProvider creates a new Phabricator ChangeProvider.
Types ¶
type Params ¶
type Params struct {
// HTTPClient is a pre-configured HTTP client. The caller is responsible for
// configuring the base URL (e.g. via httpclient.NewClient) and authentication
// (e.g. via a RoundTripper that injects credentials) via transport layers.
HTTPClient *http.Client
// Logger is the structured logger.
Logger *zap.SugaredLogger
// MetricsScope is the metrics scope for instrumentation.
MetricsScope tally.Scope
}
Params holds the dependencies for the Phabricator ChangeProvider.
Click to show internal directories.
Click to hide internal directories.