server

package
v0.0.0-...-49da035 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(config *Config, command string, args []value) (func() string, bool)

func RunServer

func RunServer(config *Config) error

RunServer func

Types

type Config

type Config struct {
	Port     string
	Username string
	Password string
}

Config type

func NewConfig

func NewConfig(port string, username string, password string) (*Config, error)

NewConfig return new server Config or error if fail

type VType

type VType rune
const (
	ARRAY VType = 42
	BULK  VType = 36
)

Jump to

Keyboard shortcuts

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