fresher

package
v0.0.0-...-16d7efa Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SchemaName represents the name of the schema being used.
	SchemaName = "karte_von_morgen-v1.0.0"
	// APIEntry is the base endpoint for the API from which profiles are
	// retrieved.
	APIEntry = "https://api.ofdb.io/v0/entries/"

	// APIValidatePath is the API path used for validating profiles.
	APIValidatePath = "/v2/validate"
	// APINodesPath is the API path used for operations related to nodes.
	APINodesPath = "/v2/nodes"
	// APIProfilesPath is the API path used for operations related to profiles.
	APIProfilesPath = "/v1/profiles"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataproxyRefresher

type DataproxyRefresher struct {
	// contains filtered or unexported fields
}

func NewRefresher

func NewRefresher() *DataproxyRefresher

func (*DataproxyRefresher) Run

func (r *DataproxyRefresher) Run() error

func (*DataproxyRefresher) UpdateProfile

func (r *DataproxyRefresher) UpdateProfile(
	profile model.Profile,
	profileJSON map[string]interface{},
) error

Jump to

Keyboard shortcuts

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