Documentation ¶
Index ¶
- Constants
- Variables
- type EvaluatorPluginService
- func (srv *EvaluatorPluginService) Eval(w http.ResponseWriter, r *http.Request)
- func (srv *EvaluatorPluginService) HandleResponse(w http.ResponseWriter, r *http.Request, hs *hst.HttpStatus)
- func (srv *EvaluatorPluginService) IsTraced(*http.Request) bool
- func (srv *EvaluatorPluginService) ReceiveData(w http.ResponseWriter, r *http.Request)
- func (srv *EvaluatorPluginService) TimerWebhook(w http.ResponseWriter, r *http.Request)
- type EvaluatorPluginServiceOption
- type GetParamFunc
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 NewEvaluatorPluginService ¶
func NewEvaluatorPluginService( opt *EvaluatorPluginServiceOption, logger log.FieldLogger, tknr token_helper.Tokener, dat_stor dssdk.DataStorage, smpl_stor dsdk.SimpleStorage, task_stor evltr_stor.TaskStorage, caller dsdk.Caller, sms_sender smssdk.SmsSender, cli_fty *client_helper.ClientFactory, ) (*EvaluatorPluginService, error)
func (*EvaluatorPluginService) Eval ¶
func (srv *EvaluatorPluginService) Eval(w http.ResponseWriter, r *http.Request)
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 }
func NewEvaluatorPluginServiceOption ¶ added in v1.1.26
func NewEvaluatorPluginServiceOption() *EvaluatorPluginServiceOption
Click to show internal directories.
Click to hide internal directories.