Help us shape the future of Go! Take the 2026 Go Developer Survey

route

package
v1.20.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver(config config.Config, driver string) (route.Route, error)

Types

type Driver

type Driver string

type Route

type Route struct {
	route.Route
	// contains filtered or unexported fields
}

func NewRoute

func NewRoute(config config.Config) (*Route, error)

func (*Route) CompileViews

func (r *Route) CompileViews() error

CompileViews forwards to the driver when it implements view.Compiler, so the framework can compile the view set after every provider has booted without knowing which driver is installed. A driver that does not implement the bridge compiles on its first serve call instead, so there is nothing to do here.

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (r *ServiceProvider) Boot(app foundation.Application)

func (*ServiceProvider) Register

func (r *ServiceProvider) Register(app foundation.Application)

func (*ServiceProvider) Relationship

func (r *ServiceProvider) Relationship() binding.Relationship

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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