View definition

(*Router).ServeFile

Defined in github.com/celrenheit/lion/router.go

Description

ServeFile serve a specific file located at the passed path

l := New()
l.ServeFile("/robots.txt", "path/to/robots.txt")

ServeFile is referenced in 1 repository

github.com/celrenheit/lion