Versions in this module Expand all Collapse all v1 v1.4.0 Dec 24, 2024 v1.3.0 Mar 26, 2024 Changes in this version + type CurlArgs struct + Body *string + ContentType *string + OutputFile *string + URL string + type FreepsHttpListener struct + func NewFreepsHttp(cfg HTTPConfig, ge *freepsgraph.GraphEngine) *FreepsHttpListener + func (r *FreepsHttpListener) ParseRequest(req *http.Request) (mainArgs map[string]string, mainInput *base.OperatorIO, err error) + func (r *FreepsHttpListener) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (r *FreepsHttpListener) Shutdown(ctx context.Context) + type HTTPConfig struct + EnablePprof bool + GraphProcessingTimeout int + Port int + type OpCurl struct + CR *utils.ConfigReader + Config HTTPConfig + GE *freepsgraph.GraphEngine + func (o *OpCurl) Get(ctx *base.Context, mainInput *base.OperatorIO, args CurlArgs) *base.OperatorIO + func (o *OpCurl) GetDefaultConfig() interface{} + func (o *OpCurl) InitCopyOfOperator(ctx *base.Context, config interface{}, name string) (base.FreepsOperatorWithConfig, error) + func (o *OpCurl) Post(ctx *base.Context, mainInput *base.OperatorIO, args CurlArgs) *base.OperatorIO + func (o *OpCurl) PostForm(ctx *base.Context, mainInput *base.OperatorIO, args CurlArgs, ...) *base.OperatorIO + func (o *OpCurl) Shutdown(ctx *base.Context) + func (o *OpCurl) StartListening(ctx *base.Context)