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

populator

package
v0.112.13 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 13 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