server package - github.com/awd2211/short-drama-system/backend/internal/server - Go Packages

server

package
v0.0.0-...-5418120 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 18 Imported by: 0

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
}

Server HTTP服务器

func New

func New() (*Server, error)

New 创建新的服务器实例

func (*Server) Shutdown

func (s *Server) Shutdown() error

Shutdown 关闭服务器

func (*Server) Start

func (s *Server) Start() error

Start 启动服务器

Jump to

Keyboard shortcuts

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