Versions in this module Expand all Collapse all v0 v0.1.72 Sep 3, 2019 v0.1.12 Jun 25, 2020 v0.1.10 Mar 29, 2020 Changes in this version + type FieldOption struct + Code string + Comment string + IsRequired bool + MaxLength int + Name string + Placeholder string + RightLabel string + Size int + Validate func(value string) (ok bool, message string) + Value string + func NewFieldOption(name string, code string) *FieldOption + func (this *FieldOption) Type() string + type OptionInterface interface + Type func() string + type OptionsOption struct + Code string + Comment string + IsRequired bool + Name string + Options []maps.Map + RightLabel string + Size int + Validate func(value string) (ok bool, message string) + Value string + func NewOptionsOption(name string, code string) *OptionsOption + func (this *OptionsOption) SetOptions(options []maps.Map) + func (this *OptionsOption) Type() string v0.1.9 Nov 25, 2019 v0.1.8 Sep 30, 2019 v0.1.7 Sep 1, 2019 v0.1.6 Jul 21, 2019 v0.1.5 Jun 9, 2019 v0.1.4 May 19, 2019 v0.1.3 May 4, 2019 Changes in this version + var AllCheckpoints = []*CheckpointDefinition + type CCCheckpoint struct + func (this *CCCheckpoint) Init() + func (this *CCCheckpoint) Options() []*Option + func (this *CCCheckpoint) ParamOptions() *ParamOptions + func (this *CCCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *CCCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + func (this *CCCheckpoint) Start() + func (this *CCCheckpoint) Stop() + type Checkpoint struct + func (this *Checkpoint) Init() + func (this *Checkpoint) IsRequest() bool + func (this *Checkpoint) Options() []*Option + func (this *Checkpoint) ParamOptions() *ParamOptions + func (this *Checkpoint) Start() + func (this *Checkpoint) Stop() + type CheckpointDefinition struct + Description string + HasParams bool + Instance CheckpointInterface + Name string + Prefix string + func FindCheckpointDefinition(prefix string) *CheckpointDefinition + type CheckpointInterface interface + Init func() + IsRequest func() bool + Options func() []*Option + ParamOptions func() *ParamOptions + RequestValue func(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + ResponseValue func(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + Start func() + Stop func() + func FindCheckpoint(prefix string) CheckpointInterface + type KeyValue struct + Name string + Value string + type Option struct + Code string + Comment string + IsRequired bool + MaxLength int + Name string + Placeholder string + RightLabel string + Size int + Validate func(value string) (ok bool, message string) + Value string + func NewOption(name string, code string) *Option + type ParamOptions struct + Options []*KeyValue + func NewParamOptions() *ParamOptions + func (this *ParamOptions) AddParam(name string, value string) + type RequestAllCheckpoint struct + func (this *RequestAllCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestAllCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestArgCheckpoint struct + func (this *RequestArgCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestArgCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestArgsCheckpoint struct + func (this *RequestArgsCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestArgsCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestBodyCheckpoint struct + func (this *RequestBodyCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestBodyCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestContentTypeCheckpoint struct + func (this *RequestContentTypeCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestContentTypeCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestCookieCheckpoint struct + func (this *RequestCookieCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestCookieCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestCookiesCheckpoint struct + func (this *RequestCookiesCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestCookiesCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestFormArgCheckpoint struct + func (this *RequestFormArgCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestFormArgCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestHeaderCheckpoint struct + func (this *RequestHeaderCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestHeaderCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestHeadersCheckpoint struct + func (this *RequestHeadersCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestHeadersCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestHostCheckpoint struct + func (this *RequestHostCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestHostCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestJSONArgCheckpoint struct + func (this *RequestJSONArgCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestJSONArgCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestLengthCheckpoint struct + func (this *RequestLengthCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestLengthCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestMethodCheckpoint struct + func (this *RequestMethodCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestMethodCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestPathCheckpoint struct + func (this *RequestPathCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestPathCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestProtoCheckpoint struct + func (this *RequestProtoCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestProtoCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestRawRemoteAddrCheckpoint struct + func (this *RequestRawRemoteAddrCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestRawRemoteAddrCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestRefererCheckpoint struct + func (this *RequestRefererCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestRefererCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestRemoteAddrCheckpoint struct + func (this *RequestRemoteAddrCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestRemoteAddrCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestRemotePortCheckpoint struct + func (this *RequestRemotePortCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestRemotePortCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestRemoteUserCheckpoint struct + func (this *RequestRemoteUserCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestRemoteUserCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestSchemeCheckpoint struct + func (this *RequestSchemeCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestSchemeCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestURICheckpoint struct + func (this *RequestURICheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestURICheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestUploadCheckpoint struct + func (this *RequestUploadCheckpoint) ParamOptions() *ParamOptions + func (this *RequestUploadCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestUploadCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type RequestUserAgentCheckpoint struct + func (this *RequestUserAgentCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *RequestUserAgentCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type ResponseBodyCheckpoint struct + func (this *ResponseBodyCheckpoint) IsRequest() bool + func (this *ResponseBodyCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *ResponseBodyCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type ResponseBytesSentCheckpoint struct + func (this *ResponseBytesSentCheckpoint) IsRequest() bool + func (this *ResponseBytesSentCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *ResponseBytesSentCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type ResponseHeaderCheckpoint struct + func (this *ResponseHeaderCheckpoint) IsRequest() bool + func (this *ResponseHeaderCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *ResponseHeaderCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type ResponseStatusCheckpoint struct + func (this *ResponseStatusCheckpoint) IsRequest() bool + func (this *ResponseStatusCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *ResponseStatusCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type SampleRequestCheckpoint struct + func (this *SampleRequestCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *SampleRequestCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type SampleResponseCheckpoint struct + func (this *SampleResponseCheckpoint) IsRequest() bool + func (this *SampleResponseCheckpoint) RequestValue(req *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *SampleResponseCheckpoint) ResponseValue(req *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error) + type TeaVersionCheckpoint struct + func (this *TeaVersionCheckpoint) RequestValue(requests *requests.Request, param string, options map[string]string) (value interface{}, sysErr error, userErr error) + func (this *TeaVersionCheckpoint) ResponseValue(requests *requests.Request, resp *requests.Response, param string, ...) (value interface{}, sysErr error, userErr error)