backend

package module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 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 interface{}) *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() interface{}

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

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

type SetupPlugin added in v1.2.2

type SetupPlugin interface {
	Plugin(s *Server) error
}

type SetupRouter added in v1.2.2

type SetupRouter interface {
	Router(s *Server) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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