server

package
v0.0.0-...-771f04f Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouterKey = "services:route"

Functions

This section is empty.

Types

type RpcServer

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

func NewServer

func NewServer(config *config.Config) *RpcServer

func (*RpcServer) AddMethod

func (s *RpcServer) AddMethod(method config.Method)

func (*RpcServer) RegisterFunctionName

func (s *RpcServer) RegisterFunctionName()

func (*RpcServer) Start

func (s *RpcServer) Start()

type Server

type Server interface {
	AddMethod(method config.Method)
	RegisterFunctionName()
	Start()
}

Jump to

Keyboard shortcuts

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