frontend

package
v0.0.0-...-e0fb3b4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package frontend contains the frontend of the GueaaS server, i.e. handling client messages.

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = &Config{
	ListenAddr: "tcp://*:7867",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	ListenAddr string
	Logger     log.Interface
}

func (*Config) Clone

func (c *Config) Clone() *Config

func (*Config) CopyFrom

func (c *Config) CopyFrom(other *Config)

func (*Config) Merge

func (c *Config) Merge(other *Config) *Config

type Frontend

type Frontend struct {
	Config *Config
	// contains filtered or unexported fields
}

func New

func New(config *Config) *Frontend

func (*Frontend) Dead

func (f *Frontend) Dead() <-chan struct{}

func (*Frontend) Err

func (f *Frontend) Err() error

func (*Frontend) SignalStop

func (f *Frontend) SignalStop()

func (*Frontend) Start

func (f *Frontend) Start(ctx context.Context)

func (*Frontend) Wait

func (f *Frontend) Wait() error

Jump to

Keyboard shortcuts

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