server

package
v0.0.0-...-4f00cc2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Port = 10000
)

Variables

View Source
var (
	DemoAddr string = fmt.Sprintf("localhost:%d", Port)
)

Functions

This section is empty.

Types

type MicroServer

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

MicroServer represents a microservice server instance

func New

func New(serverName string, l net.Listener) *MicroServer

New returns a microserver instance

func (*MicroServer) Echo

Echo implementation Implement EchoService interface

func (*MicroServer) Start

func (ms *MicroServer) Start() error

Start the microserver

Jump to

Keyboard shortcuts

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