Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
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
Click to show internal directories.
Click to hide internal directories.