Documentation ¶
Overview ¶
Package gerrit defines a router for targeting Gerrit subjects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleSource ¶
type GoogleSource struct{}
GoogleSource provides HTML URLs of Gerrit subjects on googlesource.com.
func (GoogleSource) ChangeMessageURL ¶
func (GoogleSource) ChangeMessageURL(_ context.Context, server, project string, changeID uint64, messageID string) string
ChangeMessageURL returns the HTML URL of the specified Gerrit change message on googlesource.com.
type Router ¶
type Router interface { // ChangeURL returns the HTML URL of the specified Gerrit change. // server is the Gerrit server's hostname, such as "go.googlesource.com". ChangeURL(ctx context.Context, server, project string, changeID uint64) string // ChangeMessageURL returns the HTML URL of the specified Gerrit change message. // server is the Gerrit server's hostname, such as "go.googlesource.com". ChangeMessageURL(ctx context.Context, server, project string, changeID uint64, messageID string) string }
Router provides HTML URLs of Gerrit subjects.
Click to show internal directories.
Click to hide internal directories.