mpmodule

package
v0.0.0-...-3faa710 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package mpmodule request_api User: 姜伟 Time: 2020-02-19 05:03:27

Package mpmodule request User: 姜伟 Time: 2020-02-19 05:03:55

Package mpmodule request_rpc User: 姜伟 Time: 2020-02-19 05:03:42

Index

Constants

View Source
const (
	// NodeTypeHTTP 节点类型-http
	NodeTypeHTTP = "http"
	// NodeTypeRPC 节点类型-rpc
	NodeTypeRPC = "rpc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleAPI

type ModuleAPI struct {
	ModuleBasic
}

ModuleAPI api模块

func NewAPI

func NewAPI(tag string) ModuleAPI

NewAPI 实例化

type ModuleBasic

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

ModuleBasic 基础模块

func NewBasic

func NewBasic(tag string) ModuleBasic

NewBasic 实例化

func (*ModuleBasic) GetModuleName

func (m *ModuleBasic) GetModuleName() string

GetModuleName 获取模块名称

func (*ModuleBasic) GetModuleTag

func (m *ModuleBasic) GetModuleTag() string

GetModuleTag 获取模块标识

type ModuleRPC

type ModuleRPC struct {
	ModuleBasic
	// contains filtered or unexported fields
}

ModuleRPC rpc模块

func NewRPC

func NewRPC(tag string) ModuleRPC

NewRPC rpc模块

Jump to

Keyboard shortcuts

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