server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkAddr = "0.0.0.0:23455"
)

Variables

This section is empty.

Functions

func RunHttpServer

func RunHttpServer()

func RunServer

func RunServer()

Types

type RpcServiceImpl

type RpcServiceImpl struct{}

func (*RpcServiceImpl) Hello

func (p *RpcServiceImpl) Hello() (r string, err error)

func (*RpcServiceImpl) Plus

func (p *RpcServiceImpl) Plus(req *tutorial.Node) (r int32, err error)

func (*RpcServiceImpl) Sort

func (s *RpcServiceImpl) Sort(sd *tutorial.SortDesc) (r []int32, err error)

Jump to

Keyboard shortcuts

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