web

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GitHubOAuthURL is the URL for GitHub OAuth.
	GitHubOAuthURL = "https://github.com/login/oauth/access_token?client_id=%s&client_secret=%s&code=%s"
	// GitHubUserURL is the URL for GitHub user info.
	GitHubUserURL = "https://api.github.com/user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Web

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

func New

func New(c *config.Config, templatePath string,
	reload bool, l log.CommonLogger, a *fiber.App) *Web

New creates a new Web instance.

func (*Web) RegisterRoutes

func (w *Web) RegisterRoutes()

RegisterRoutes registers the routes for the web server.

func (*Web) Start

func (w *Web) Start()

Start starts the web server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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