app

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: BSD-3-Clause Imports: 26 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendAssetHandlers

func AppendAssetHandlers(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func AppendCrumbHandler

func AppendCrumbHandler(ctx context.Context, fs *flag.FlagSet, handler http.Handler) (http.Handler, error)

func AppendEditorHandler

func AppendEditorHandler(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func AppendLeafletFlags

func AppendLeafletFlags(fs *flag.FlagSet) error

func AppendNextzenFlags

func AppendNextzenFlags(fs *flag.FlagSet) error

func AppendProxyTilesHandler

func AppendProxyTilesHandler(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func AppendProxyTilesHandlerIfEnabled

func AppendProxyTilesHandlerIfEnabled(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func AppendTilezenFlags

func AppendTilezenFlags(fs *flag.FlagSet) error

func AppendWriterHandler

func AppendWriterHandler(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func AppendWriterHandlerIfEnabled

func AppendWriterHandlerIfEnabled(ctx context.Context, fs *flag.FlagSet, mux *http.ServeMux) error

func CommonFlags

func CommonFlags() (*flag.FlagSet, error)

func NewApplicationTemplates

func NewApplicationTemplates(ctx context.Context, fs *flag.FlagSet) (*template.Template, error)

func NewEditorHandler

func NewEditorHandler(ctx context.Context, fs *flag.FlagSet) (http.Handler, error)

func NewProxyTilesHandler

func NewProxyTilesHandler(ctx context.Context, fs *flag.FlagSet) (http.Handler, error)

func NewServer

func NewServer(ctx context.Context, fs *flag.FlagSet) (server.Server, error)

func NewWriterHandler

func NewWriterHandler(ctx context.Context, fs *flag.FlagSet) (http.Handler, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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