console

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HubURL     string
	AdminToken string
	StaticDir  string
	BasePath   string
}

type Server

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

func NewServer

func NewServer(cfg Config) (*Server, error)

func (*Server) HandleCallback

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

func (*Server) HandleInfo

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

func (*Server) HandleLogin

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

func (*Server) HandleLogout

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

func (*Server) HandleSession

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

func (*Server) Handler

func (s *Server) Handler() http.Handler

Jump to

Keyboard shortcuts

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