server

package
v0.0.0-...-6ba995b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthDefault auth.IAuth = &auth.Auth{}

TODO:

Functions

This section is empty.

Types

type Server

type Server struct {
	Auth auth.IAuth
	Conn net.Conn
	// contains filtered or unexported fields
}

func New

func New(conn net.Conn, auth auth.IAuth) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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