server

package
v0.0.0-...-c3c18fe Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(router *gin.Engine, db *gorm.DB, basePath string)

Types

type Server

type Server struct {
	BasePath string
	Domain   string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c config.CLIConfig) *Server

func (*Server) Run

func (s *Server) Run()

func (*Server) SetDBConfig

func (s *Server) SetDBConfig(path string) *Server

func (*Server) SetPort

func (s *Server) SetPort(port uint) *Server

func (*Server) SetSiteDomain

func (s *Server) SetSiteDomain(domain string) *Server

Jump to

Keyboard shortcuts

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