Help us shape the future of Go! Take the 2026 Go Developer Survey

xserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 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"`
}

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