Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Populator ¶
type Populator struct {
// contains filtered or unexported fields
}
func NewPopulator ¶
func NewPopulator(config *server.ServerConfig) *Populator
func (*Populator) Middleware ¶
func (p *Populator) Middleware(r *middleware.RouteInfo) echo.HandlerFunc
func (*Populator) RegisterGetter ¶
func (p *Populator) RegisterGetter(resourceKey string, getter ResourceGetterFunc)
type ResourceGetterFunc ¶
type ResourceGetterFunc func(config *server.ServerConfig, parentId, id string) (result interface{}, uniqueParentId string, err error)
Click to show internal directories.
Click to hide internal directories.