backend

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

backend

Documentation

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
}

func NewServer

func NewServer(opt *option.Option) *Server

func (*Server) Engin

func (s *Server) Engin() *gin.Engine

func (*Server) Frontend

func (s *Server) Frontend(fe fs.FS)

func (*Server) Group

func (s *Server) Group(relativePath string) *gin.RouterGroup

func (*Server) Option

func (s *Server) Option() *option.Option

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop(grace bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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