api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Network string
	Address string
	// contains filtered or unexported fields
}

Server is the main struct that contain the server config

func (*Server) Serve

func (s *Server) Serve() (err error)

Serve starts the server and listen for client connections

func (*Server) Stop

func (s *Server) Stop()

Stop stops the server (if exist)

Directories

Path Synopsis
Package core is a generated protocol buffer package.
Package core is a generated protocol buffer package.
Package service is a generated protocol buffer package.
Package service is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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