static

package
v2.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(string) ([]byte, error)

Asset returns an error stating no assets were included in the binary.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns nil because there are no assets included in the binary.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo returns an error stating no assets were included in the binary.

func NewAssetHandler

func NewAssetHandler(assetsPath string) http.Handler

NewAssetHandler returns an http.Handler to serve files from the provided path. If no --assets-path flag is used when starting influxd, the path will be empty and files are served from the embedded filesystem.

func NewSwaggerHandler

func NewSwaggerHandler() http.Handler

NewSwaggerHandler returns an http.Handler to serve the swaggerFile from the embedBaseDir. If the swaggerFile is not found, returns a 404.

Types

This section is empty.

Jump to

Keyboard shortcuts

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