populator

package
v0.42.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 4 Imported by: 0

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)

Jump to

Keyboard shortcuts

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