server

package
v0.0.0-...-6923683 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(path string) error

func New

func New(config ServerConfig) (*rodisServer, error)

Types

type ServerConfig

type ServerConfig struct {
	App     string
	Version float32
	Owner   string

	Listen      string
	RequirePass string

	LogLevel string

	LevelDBPath string
	LevelDB     *opt.Options
}
var Config ServerConfig

Jump to

Keyboard shortcuts

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