aci

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 11 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthType

type AuthType int
const (
	AuthNone AuthType = iota
	AuthBasic
	AuthOauth
)

type PortType added in v1.0.0

type PortType int
const (
	PortFixed PortType = iota
	PortRandom
)

type ProtocolType added in v1.0.0

type ProtocolType int
const (
	ProtocolHttps ProtocolType = iota
	ProtocolHttp
)

type Server

type Server struct {
	Msg  <-chan string
	Conf string
	URL  string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(setup *ServerSetup) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) UpdateFileSet

func (s *Server) UpdateFileSet(fileSet map[string]string) error

type ServerSetup added in v1.0.0

type ServerSetup struct {
	Port        PortType
	Protocol    ProtocolType
	Server      ServerType
	Auth        AuthType
	MsgCapacity int
}

func GetDefaultServerSetup added in v1.0.0

func GetDefaultServerSetup() *ServerSetup

type ServerType

type ServerType int
const (
	ServerOrdinary ServerType = iota
	ServerQuay
)

Jump to

Keyboard shortcuts

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