Type WebScheme
type WebScheme struct {
Name string
// Serve answers one request: the path after the host, without a query. ok false is a 404.
Serve func(path string) (mime string, data []byte, ok bool)
}WebScheme serves a custom URL scheme.
type WebScheme struct {
Name string
// Serve answers one request: the path after the host, without a query. ok false is a 404.
Serve func(path string) (mime string, data []byte, ok bool)
}WebScheme serves a custom URL scheme.