protocol

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MulanPSL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcService

type GrpcService struct {
	// contains filtered or unexported fields
}

func NewGrpcService

func NewGrpcService() *GrpcService

func (*GrpcService) Start

func (s *GrpcService) Start()

func (*GrpcService) Stop

func (s *GrpcService) Stop() error

type HttpService

type HttpService struct {
	// contains filtered or unexported fields
}

func NewHttpService

func NewHttpService() *HttpService

httpservice 构造函数

func (*HttpService) Start

func (s *HttpService) Start() error

func (*HttpService) Stop

func (s *HttpService) Stop()

type RestfulService

type RestfulService struct {
	// contains filtered or unexported fields
}

func NewRestfulService

func NewRestfulService() *RestfulService

func (*RestfulService) PathPrefix

func (s *RestfulService) PathPrefix() string

func (*RestfulService) Registry

func (s *RestfulService) Registry() error

通过keyauth sdk注册服务功能 需要webservice都已经加载完成后才注册这样才可以获取路由条目

func (*RestfulService) Start

func (r *RestfulService) Start() error

func (*RestfulService) Stop

func (r *RestfulService) Stop()

Jump to

Keyboard shortcuts

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