http

package
v1.1.30 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 7 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 {
	Engine *bm.Engine
	// contains filtered or unexported fields
}

支持服务自动注册

func DefaultServer

func DefaultServer(conf *ServerConfig) *Server

func NewServer

func NewServer(conf *ServerConfig) *Server

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (s *Server) Start() (err error)

type ServerConfig added in v1.1.20

type ServerConfig struct {
	bm.ServerConfig
}

Directories

Path Synopsis
binding/example
Package example is a generated protocol buffer package.
Package example is a generated protocol buffer package.
render
Package render is a generated protocol buffer package.
Package render is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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