route

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomFS

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

func NewCustomFS

func NewCustomFS(prefix string) *CustomFS

func (*CustomFS) Open

func (c *CustomFS) Open(name string) (fs.File, error)

func (*CustomFS) Stat

func (c *CustomFS) Stat(name string) (fs.FileInfo, error)

type CustomFile

type CustomFile struct {
	fs.File
}

func (*CustomFile) Read

func (c *CustomFile) Read(p []byte) (int, error)

func (*CustomFile) Seek

func (c *CustomFile) Seek(offset int64, whence int) (int64, error)

func (*CustomFile) Stat

func (c *CustomFile) Stat() (fs.FileInfo, error)

type CustomFileInfo

type CustomFileInfo struct {
	fs.FileInfo
}

func (*CustomFileInfo) ModTime

func (c *CustomFileInfo) ModTime() time.Time

type GatewayRoute

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

func NewGatewayRoute

func NewGatewayRoute(management *service.Management) *GatewayRoute

func (*GatewayRoute) GetRoute

func (g *GatewayRoute) GetRoute() *http.ServeMux

type ManagementRoute

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

func NewManagementRoute

func NewManagementRoute(management *service.Management) *ManagementRoute

func (*ManagementRoute) GetRoute

func (m *ManagementRoute) GetRoute() http.Handler

type StaticRoute

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

func NewStaticRoute

func NewStaticRoute(state *service.State) *StaticRoute

func (*StaticRoute) GetRoute

func (s *StaticRoute) GetRoute() http.Handler

Jump to

Keyboard shortcuts

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