refresher

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Refresher

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

func NewRefresher

func NewRefresher(stats *stats.Stats, pool *pool.Pool, probe probeContract) *Refresher

func (*Refresher) Configure added in v0.3.0

func (ref *Refresher) Configure(c app.Config) error

func (*Refresher) HttpDeletetByID added in v0.3.0

func (ref *Refresher) HttpDeletetByID(name string, r *http.Request) (any, error)

stop the source

func (*Refresher) HttpGet

func (ref *Refresher) HttpGet(_ *http.Request) (any, error)

func (*Refresher) HttpPostByID added in v0.3.0

func (ref *Refresher) HttpPostByID(name string, r *http.Request) (any, error)

start the source

func (*Refresher) Snapshot

func (ref *Refresher) Snapshot() plan

func (*Refresher) Start

func (ref *Refresher) Start(ctx app.Context)

Jump to

Keyboard shortcuts

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