metathings_plugin_evaluator_service

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TIMER_DATA_CODEC = "json"
)

Variables

View Source
var (
	ErrTimerDefaultConfigNotFound = errors.New("timer default config not found")
)

Functions

This section is empty.

Types

type EvaluatorPluginService

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

func (*EvaluatorPluginService) Eval

func (*EvaluatorPluginService) HandleResponse

func (srv *EvaluatorPluginService) HandleResponse(w http.ResponseWriter, r *http.Request, hs *hst.HttpStatus)

func (*EvaluatorPluginService) IsTraced added in v1.1.28

func (srv *EvaluatorPluginService) IsTraced(*http.Request) bool

func (*EvaluatorPluginService) ReceiveData added in v1.1.26

func (srv *EvaluatorPluginService) ReceiveData(w http.ResponseWriter, r *http.Request)

func (*EvaluatorPluginService) TimerWebhook added in v1.1.28

func (srv *EvaluatorPluginService) TimerWebhook(w http.ResponseWriter, r *http.Request)

type EvaluatorPluginServiceOption

type EvaluatorPluginServiceOption struct {
	Evaluator struct {
		Endpoint string
	}
	Server struct {
		Name string
	}
	Codec    string
	IsTraced bool

	Callback map[string]interface{}
}

func NewEvaluatorPluginServiceOption added in v1.1.26

func NewEvaluatorPluginServiceOption() *EvaluatorPluginServiceOption

type GetParamFunc added in v1.1.28

type GetParamFunc func(*http.Request, string) string

Jump to

Keyboard shortcuts

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