daemon

package
v0.0.0-...-57e9fdd Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package daemon implements blackbox server listening service. It will listen on the address/port and accept for incoming connections. It also creates workers goroutines and waiting for imcoming requests. The workers will act similar to a thread pool, ensure stable performance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(args cli.Args)

Start server

Types

type Server

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

func NewServer

func NewServer() *Server

func (*Server) Ready

func (s *Server) Ready() error

func (*Server) Start

func (s *Server) Start(args cli.Args) error

Init server, includeing loading certificates and create sockets. In the end it will call Ready() to create workers and channels.

Jump to

Keyboard shortcuts

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