handlers

package
v0.0.0-...-f6c6bc8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouterSet = wire.NewSet(NewRouter)

Functions

func CheckSession

func CheckSession() http.HandlerFunc

func CreatePluginSetting

func CreatePluginSetting(s *services.SettingService) http.HandlerFunc

CreatePluginSetting -

func CreateTask

CreateTask -

func DeleteTask

func DeleteTask(t *services.TaskService) http.HandlerFunc

DeleteTask -

func DisableTask

func DisableTask(t *services.TaskService) http.HandlerFunc

DisableTask -

func FetchUserClientIDHandler

func FetchUserClientIDHandler(gh *services.GithubAuthService) http.HandlerFunc

func FindTask

func FindTask(t *services.TaskService) http.HandlerFunc

FindOneTask -

func GetCurrentUser

func GetCurrentUser() http.HandlerFunc

func ListPluginSetting

func ListPluginSetting(s *services.SettingService) http.HandlerFunc

ListPluginSetting -

func ListTasks

func ListTasks(t *services.TaskService) http.HandlerFunc

ListTasks -

func NewRouter

func NewRouter(userService *services.UserService, taskService *services.TaskService, settingService *services.SettingService, gh *services.GithubAuthService, db *mongo.Client) *mux.Router

func ServeWebAdmin

func ServeWebAdmin(w http.ResponseWriter, r *http.Request)

ServeWebAdmin -

func ToggleActiveRepository

func ToggleActiveRepository(s *services.SettingService) http.HandlerFunc

Types

type ContextKey

type ContextKey string

Jump to

Keyboard shortcuts

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