static

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DirStatic = "static"

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

func New

func New() (*Module, error)

func (*Module) Name

func (m *Module) Name() string

Name return the module name

func (*Module) Route

func (m *Module) Route(s *ihttp.Server) error

Route attaches routes to the web server.

func (*Module) SetServer

func (*Module) SetServer(_ *ihttp.Server)

SetServer adds a reference to the server to the module.

Jump to

Keyboard shortcuts

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