handler

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(dir string, fs afero.Fs) (proto.FileHandler, error)

NewHandler is a handler that can be registered with a micro Server

func RegisterHandler

func RegisterHandler(s server.Server, dir string, fs afero.Fs) error

RegisterHandler is a convenience method for registering a handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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