xserver

package
v2.1.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr       string `json:"addr" toml:"addr"`
	Socket     string `json:"socket" toml:"socket"`
	SkipAuth   bool   `json:"skip-auth" toml:"skip-auth"`
	TokenLimit uint   `json:"token-limit" toml:"token-limit"`
}

Config contains configuration options.

type Server

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

Server is the MySQL X protocol server

func NewServer

func NewServer(cfg *Config) (s *Server, err error)

NewServer creates a new Server.

func (*Server) Close

func (s *Server) Close()

Close closes the server.

func (*Server) Run

func (s *Server) Run() error

Run runs the server.

Jump to

Keyboard shortcuts

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