server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BatchTooLargeErr = "batch size %d too large, max is %d"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Host    string
	Port    int
	Network string
}

type Server

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

func New

func New(opts Options) (*Server, error)

func StartDefault

func StartDefault() (*Server, error)

func StartOptions

func StartOptions(opts Options) (*Server, error)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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