Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StripNewline ¶
StripNewline strips newlines from the end of a string.
Types ¶
type App ¶
type App struct { Handler http.Handler Mux *routerecorder.Plugin }
App contains all the plugins.
type Doc ¶
type Doc struct { PackageName string PackagePath string PackageDescription string PackageVersion string GrantRequests []ambient.GrantRequest Settings []ambient.Setting FuncMap func(r *http.Request) template.FuncMap Assets []ambient.Asset EmbeddedFS ambient.FileSystemReader Routes []routerecorder.Route Middleware []func(next http.Handler) http.Handler Example string Logger bool StorageSystem bool Router bool TemplateEngine bool SessionManager bool }
Doc represents the variables passed to a doc template.
Click to show internal directories.
Click to hide internal directories.