github_handler

package
v0.0.0-...-b45cdd6 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStatHandler

type GetStatHandler struct {
	Service    Service
	DebugToken string
}

func (*GetStatHandler) RegisterOn

func (h *GetStatHandler) RegisterOn(router chi.Router)

func (GetStatHandler) ServeHTTP

func (h GetStatHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RedirectHandler

type RedirectHandler struct {
}

func (*RedirectHandler) RegisterOn

func (h *RedirectHandler) RegisterOn(router chi.Router)

func (RedirectHandler) ServeHTTP

func (h RedirectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Service

type Service interface {
	GetStat(ctx context.Context, user, repo, branch string, filter, matcher *string, noLOCProvider bool, tempStorage github_stat.TempStorage) (*loc_count.StatTree, error)
}

Jump to

Keyboard shortcuts

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