server

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TlsHandler

func TlsHandler(sslAddr string) wkhttp.HandlerFunc

Types

type Server

type Server struct {
	log.TLog
	// contains filtered or unexported fields
}

Server yoohob server

func New

func New(ctx *config.Context) *Server

New 创建悟空聊天server

func (*Server) GetRoute

func (s *Server) GetRoute() *wkhttp.WKHttp

GetRoute 获取路由

func (*Server) Init

func (s *Server) Init(env svc.Environment) error

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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