server

package
v0.0.0-...-a6d252f Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package server contains the ts3chatter server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server contains the ts3 sq connection and other ts3 server data.

func New

func New(address, login, password string, virtualserver int,
	logger *log.Logger, sleepseconds int, nick string, path string) (s *Server, err error)

New creates a new Server structure.

func (*Server) NewServeMux

func (s *Server) NewServeMux() *http.ServeMux

func (*Server) Quit

func (s *Server) Quit() (err error)

Quit disconnects the ts3 sq connection of a Server.

func (*Server) ServeChannellist

func (s *Server) ServeChannellist(w http.ResponseWriter, r *http.Request)

func (*Server) ServeClientlist

func (s *Server) ServeClientlist(w http.ResponseWriter, r *http.Request)

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves a given http.Request.

Jump to

Keyboard shortcuts

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