Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Describable ¶
type Describable interface {
Provider
}
type ElementSpec ¶
type Provider ¶
type Provider interface {
Name() string
BasePath() string
RegisterRoutes(*gin.RouterGroup)
}
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
Example ¶
registry := NewRegistry()
registry.Add(registryTestProvider{name: "build", basePath: "/build"})
func (*Registry) Add ¶
Example ¶
registry := NewRegistry()
registry.Add(registryTestProvider{name: "build", basePath: "/build"})
type Renderable ¶
type Renderable interface {
Provider
Element() ElementSpec
}
type Streamable ¶
Click to show internal directories.
Click to hide internal directories.