aci

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

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