Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router is what registers the UI routes for handling integrating with an external provider.
func (*Router) RegisterAPI ¶
RegisterAPI is a stub method to implement the server.Router interface.
func (*Router) RegisterUI ¶
func (r *Router) RegisterUI(mux *mux.Router, csrf func(http.Handler) http.Handler, gates ...web.Gate)
RegisterUI registers the UI routes for handling integration with a provider. This will register the routes for connecting to a provider, and the routes for toggling webhooks on a provider's repository.
Click to show internal directories.
Click to hide internal directories.