web

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package web provides a web management interface for XxSql.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents the web management server.

func NewServer

func NewServer(cfg *config.Config, engine *storage.Engine, authMgr *auth.Manager, backupMgr *backup.Manager) *Server

NewServer creates a new web management server.

func (*Server) Start

func (s *Server) Start() error

Start starts the web server.

func (*Server) Stop

func (s *Server) Stop() error

Stop stops the web server.

type Session

type Session struct {
	ID       string
	Username string
	Created  time.Time
	Expires  time.Time
}

Session represents a web session.

Jump to

Keyboard shortcuts

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