server

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Server implemantation for use in Weblang VM runtime environment

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Host            string       // Server hostname
	Port            int          // Server port
	StaticFilesPath string       // Static files path (optional)
	ServerObject    *base.Object // Pointer to server object in VM environment
	RouterObject    *base.Object //  Pointer to router object in VM environment
	// contains filtered or unexported fields
}

Main server struct

func (Server) Start

func (sr Server) Start() error

Start server process

Jump to

Keyboard shortcuts

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