controllers

package
v0.0.0-...-69810a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedController

type FeedController struct {
	Config       *confer.Config                  `inject:""`
	Factory      *factories.GonduitFactory       `inject:""`
	Commits      *resolvers.CommitResolver       `inject:""`
	Tasks        *resolvers.TaskResolver         `inject:""`
	Differential *resolvers.DifferentialResolver `inject:""`
	Logger       *logrus.Logger                  `inject:""`

	Connector interfaces.Connector
}

FeedController handles feed webhook routes

func (*FeedController) Register

func (f *FeedController) Register(r *gin.RouterGroup)

Register registers the route handlers for this controller

type FrontController

type FrontController struct{}

FrontController handles main routes

func (*FrontController) Register

func (f *FrontController) Register(r *gin.Engine)

Register registers the route handlers for this controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL