subdomain

package
v0.0.0-...-3cdf4da Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subdomain

type Subdomain struct {
	yarf.Middleware
}

Subdomain middleware parses the Request URL and sets the subdomain value into "_subdomain" index on Context Data

func (*Subdomain) PreDispatch

func (s *Subdomain) PreDispatch(c *yarf.Context) error

PreDispatch parses the URL and sets the value.

Jump to

Keyboard shortcuts

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