web

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitHubProvider = "github"
	GitLabProvider = "gitlab"
	GiteaProvider  = "gitea"
	OpenIDConnect  = "openid-connect"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	File string `json:"file"`
}

type Server added in v1.5.0

type Server struct {
	// contains filtered or unexported fields
}

func NewServer added in v1.5.0

func NewServer(isDev bool) *Server

func (*Server) ServeHTTP added in v1.5.0

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Server) Start added in v1.5.0

func (s *Server) Start()

func (*Server) Stop added in v1.5.0

func (s *Server) Stop()

type Template

type Template struct {
	// contains filtered or unexported fields
}

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, _ echo.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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