Documentation
¶
Index ¶
- type ServiceProvider
- type View
- func (r *View) Exists(view string) bool
- func (r *View) GetShared() map[string]any
- func (r *View) LoadViewsFrom(path string)
- func (r *View) LoadViewsFromFS(fsys fs.FS, root string)
- func (r *View) RegisteredViewFS() []fs.FS
- func (r *View) RegisteredViews() []string
- func (r *View) Share(key string, value any)
- func (r *View) Shared(key string, def ...any) any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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() contractsbinding.Relationship
type View ¶
type View struct {
// contains filtered or unexported fields
}
func (*View) Exists ¶
Exists reports whether a view file with the given name is available from any source. Only files count: directories, "" and "." (which would resolve to a source root) do not match.
func (*View) LoadViewsFrom ¶
func (*View) RegisteredViewFS ¶
func (*View) RegisteredViews ¶
Click to show internal directories.
Click to hide internal directories.