Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginHandler ¶
Types ¶
type HookServer ¶
type HookServer struct {
// contains filtered or unexported fields
}
func NewHookServer ¶
func NewHookServer(client *gitlab.Client) *HookServer
func (*HookServer) AddRouter ¶
func (h *HookServer) AddRouter(name string, router Router, handler common.Handler)
func (*HookServer) MatchAndRoute ¶
func (h *HookServer) MatchAndRoute(ctx context.Context, writer http.ResponseWriter, request *http.Request)
type NotFoundHandler ¶
type NotFoundHandler struct{}
Click to show internal directories.
Click to hide internal directories.