server

package
v0.0.0-...-c7121e3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Port int = 8550
)

Functions

func Start

func Start(ctx context.Context, wg *sync.WaitGroup, serverPort int, contentDir string)

Types

type AssetsFS

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

func (AssetsFS) Exists

func (fs AssetsFS) Exists(prefix string, path string) bool

func (AssetsFS) Open

func (fs AssetsFS) Open(name string) (file http.File, err error)

type FileSystemAssetsSFS

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

func (*FileSystemAssetsSFS) Exists

func (fs *FileSystemAssetsSFS) Exists(path string) bool

func (*FileSystemAssetsSFS) Open

func (fs *FileSystemAssetsSFS) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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