webscan

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func MustParseDate

func MustParseDate(date string) time.Time

MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.

func MustParseDateTime

func MustParseDateTime(datetime string) time.Time

MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func UUID

func UUID(u uuid.UUID) *uuid.UUID

UUID returns a pointer to the given uuid.UUID value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type ApiType added in v0.0.9

type ApiType string
const (
	ApiTypeGrpc      ApiType = "Grpc"
	ApiTypeGraphQl   ApiType = "GraphQL"
	ApiTypeSwaggerV2 ApiType = "SwaggerV2"
	ApiTypeSwaggerV3 ApiType = "SwaggerV3"
)

func NewApiTypeFromString added in v0.0.9

func NewApiTypeFromString(s string) (ApiType, error)

func (ApiType) Ptr added in v0.0.9

func (a ApiType) Ptr() *ApiType

type Attempt added in v0.0.23

type Attempt struct {
	Name        ModuleName        `json:"name" url:"name"`
	Timestamp   time.Time         `json:"timestamp" url:"timestamp"`
	AttemptInfo *AttemptInfoUnion `json:"AttemptInfo,omitempty" url:"AttemptInfo,omitempty"`
	Finding     bool              `json:"finding" url:"finding"`
	// contains filtered or unexported fields
}

func (*Attempt) GetExtraProperties added in v0.0.23

func (a *Attempt) GetExtraProperties() map[string]interface{}

func (*Attempt) MarshalJSON added in v0.0.23

func (a *Attempt) MarshalJSON() ([]byte, error)

func (*Attempt) String added in v0.0.23

func (a *Attempt) String() string

func (*Attempt) UnmarshalJSON added in v0.0.23

func (a *Attempt) UnmarshalJSON(data []byte) error

type AttemptInfoUnion added in v0.0.23

type AttemptInfoUnion struct {
	Type                 string
	MultiplePathsAttempt *MultiplePathsAttemptInfo
	GeneralAttempt       *GeneralAttemptInfo
	VersionAttempt       *VersionEnumerateAttemptInfo
}

func NewAttemptInfoUnionFromGeneralAttempt added in v0.0.23

func NewAttemptInfoUnionFromGeneralAttempt(value *GeneralAttemptInfo) *AttemptInfoUnion

func NewAttemptInfoUnionFromMultiplePathsAttempt added in v0.0.23

func NewAttemptInfoUnionFromMultiplePathsAttempt(value *MultiplePathsAttemptInfo) *AttemptInfoUnion

func NewAttemptInfoUnionFromVersionAttempt added in v0.0.23

func NewAttemptInfoUnionFromVersionAttempt(value *VersionEnumerateAttemptInfo) *AttemptInfoUnion

func (*AttemptInfoUnion) Accept added in v0.0.23

func (a *AttemptInfoUnion) Accept(visitor AttemptInfoUnionVisitor) error

func (AttemptInfoUnion) MarshalJSON added in v0.0.23

func (a AttemptInfoUnion) MarshalJSON() ([]byte, error)

func (*AttemptInfoUnion) UnmarshalJSON added in v0.0.23

func (a *AttemptInfoUnion) UnmarshalJSON(data []byte) error

type AttemptInfoUnionVisitor added in v0.0.23

type AttemptInfoUnionVisitor interface {
	VisitMultiplePathsAttempt(*MultiplePathsAttemptInfo) error
	VisitGeneralAttempt(*GeneralAttemptInfo) error
	VisitVersionAttempt(*VersionEnumerateAttemptInfo) error
}

type BodyParams added in v0.0.21

type BodyParams struct {
	Name          string   `json:"name" url:"name"`
	ExampleValues []string `json:"exampleValues,omitempty" url:"exampleValues,omitempty"`
	// contains filtered or unexported fields
}

func (*BodyParams) GetExtraProperties added in v0.0.21

func (b *BodyParams) GetExtraProperties() map[string]interface{}

func (*BodyParams) String added in v0.0.21

func (b *BodyParams) String() string

func (*BodyParams) UnmarshalJSON added in v0.0.21

func (b *BodyParams) UnmarshalJSON(data []byte) error

type Certificate added in v0.0.8

type Certificate struct {
	SubjectCommonName  *string             `json:"subjectCommonName,omitempty" url:"subjectCommonName,omitempty"`
	IssuerCommonName   *string             `json:"issuerCommonName,omitempty" url:"issuerCommonName,omitempty"`
	ValidFrom          *time.Time          `json:"validFrom,omitempty" url:"validFrom,omitempty"`
	ValidTo            *time.Time          `json:"validTo,omitempty" url:"validTo,omitempty"`
	Version            *int                `json:"version,omitempty" url:"version,omitempty"`
	SerialNumber       *string             `json:"serialNumber,omitempty" url:"serialNumber,omitempty"`
	Certificate        *string             `json:"certificate,omitempty" url:"certificate,omitempty"`
	Signature          *string             `json:"signature,omitempty" url:"signature,omitempty"`
	SignatureAlgorithm *SignatureAlgorithm `json:"signatureAlgorithm,omitempty" url:"signatureAlgorithm,omitempty"`
	PublicKeyAlgorithm *PublicKeyAlgorithm `json:"publicKeyAlgorithm,omitempty" url:"publicKeyAlgorithm,omitempty"`
	// contains filtered or unexported fields
}

func (*Certificate) GetExtraProperties added in v0.0.8

func (c *Certificate) GetExtraProperties() map[string]interface{}

func (*Certificate) MarshalJSON added in v0.0.8

func (c *Certificate) MarshalJSON() ([]byte, error)

func (*Certificate) String added in v0.0.8

func (c *Certificate) String() string

func (*Certificate) UnmarshalJSON added in v0.0.8

func (c *Certificate) UnmarshalJSON(data []byte) error

type FingerprintReport added in v0.0.8

type FingerprintReport struct {
	Target              string       `json:"target" url:"target"`
	HttpHeaders         *HttpHeaders `json:"httpHeaders,omitempty" url:"httpHeaders,omitempty"`
	TlsInfo             *TlsInfo     `json:"tlsInfo,omitempty" url:"tlsInfo,omitempty"`
	RedirectUrl         *string      `json:"redirectUrl,omitempty" url:"redirectUrl,omitempty"`
	RedirectHttpHeaders *HttpHeaders `json:"redirectHttpHeaders,omitempty" url:"redirectHttpHeaders,omitempty"`
	RedirectTlsInfo     *TlsInfo     `json:"redirectTlsInfo,omitempty" url:"redirectTlsInfo,omitempty"`
	Errors              []string     `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*FingerprintReport) GetExtraProperties added in v0.0.8

func (f *FingerprintReport) GetExtraProperties() map[string]interface{}

func (*FingerprintReport) String added in v0.0.8

func (f *FingerprintReport) String() string

func (*FingerprintReport) UnmarshalJSON added in v0.0.8

func (f *FingerprintReport) UnmarshalJSON(data []byte) error

type FuzzPathReport

type FuzzPathReport struct {
	Target                   string        `json:"target" url:"target"`
	Urls                     []*UrlDetails `json:"urls,omitempty" url:"urls,omitempty"`
	UrlsSkippedFromBaseMatch []*UrlDetails `json:"urlsSkippedFromBaseMatch,omitempty" url:"urlsSkippedFromBaseMatch,omitempty"`
	Errors                   []string      `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*FuzzPathReport) GetExtraProperties

func (f *FuzzPathReport) GetExtraProperties() map[string]interface{}

func (*FuzzPathReport) String

func (f *FuzzPathReport) String() string

func (*FuzzPathReport) UnmarshalJSON

func (f *FuzzPathReport) UnmarshalJSON(data []byte) error

type GeneralAttemptInfo added in v0.0.23

type GeneralAttemptInfo struct {
	Request  *GeneralRequestInfo  `json:"request,omitempty" url:"request,omitempty"`
	Response *GeneralResponseInfo `json:"response,omitempty" url:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneralAttemptInfo) GetExtraProperties added in v0.0.23

func (g *GeneralAttemptInfo) GetExtraProperties() map[string]interface{}

func (*GeneralAttemptInfo) String added in v0.0.23

func (g *GeneralAttemptInfo) String() string

func (*GeneralAttemptInfo) UnmarshalJSON added in v0.0.23

func (g *GeneralAttemptInfo) UnmarshalJSON(data []byte) error

type GeneralRequestInfo added in v0.0.23

type GeneralRequestInfo struct {
	Method  HttpMethod        `json:"method" url:"method"`
	Url     string            `json:"url" url:"url"`
	Headers map[string]string `json:"headers,omitempty" url:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneralRequestInfo) GetExtraProperties added in v0.0.23

func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{}

func (*GeneralRequestInfo) String added in v0.0.23

func (g *GeneralRequestInfo) String() string

func (*GeneralRequestInfo) UnmarshalJSON added in v0.0.23

func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error

type GeneralResponseInfo added in v0.0.23

type GeneralResponseInfo struct {
	StatusCode int               `json:"statusCode" url:"statusCode"`
	Body       *string           `json:"body,omitempty" url:"body,omitempty"`
	Headers    map[string]string `json:"headers,omitempty" url:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneralResponseInfo) GetExtraProperties added in v0.0.23

func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{}

func (*GeneralResponseInfo) String added in v0.0.23

func (g *GeneralResponseInfo) String() string

func (*GeneralResponseInfo) UnmarshalJSON added in v0.0.23

func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error

type GraphQlData added in v0.0.9

type GraphQlData struct {
	Schema *GraphQlSchemaData `json:"__schema,omitempty" url:"__schema,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlData) GetExtraProperties added in v0.0.9

func (g *GraphQlData) GetExtraProperties() map[string]interface{}

func (*GraphQlData) String added in v0.0.9

func (g *GraphQlData) String() string

func (*GraphQlData) UnmarshalJSON added in v0.0.9

func (g *GraphQlData) UnmarshalJSON(data []byte) error

type GraphQlField added in v0.0.9

type GraphQlField struct {
	Name string `json:"name" url:"name"`
	// contains filtered or unexported fields
}

func (*GraphQlField) GetExtraProperties added in v0.0.9

func (g *GraphQlField) GetExtraProperties() map[string]interface{}

func (*GraphQlField) String added in v0.0.9

func (g *GraphQlField) String() string

func (*GraphQlField) UnmarshalJSON added in v0.0.9

func (g *GraphQlField) UnmarshalJSON(data []byte) error

type GraphQlQuery added in v0.0.9

type GraphQlQuery struct {
	Type   string   `json:"type" url:"type"`
	Fields []string `json:"fields,omitempty" url:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlQuery) GetExtraProperties added in v0.0.9

func (g *GraphQlQuery) GetExtraProperties() map[string]interface{}

func (*GraphQlQuery) String added in v0.0.9

func (g *GraphQlQuery) String() string

func (*GraphQlQuery) UnmarshalJSON added in v0.0.9

func (g *GraphQlQuery) UnmarshalJSON(data []byte) error

type GraphQlSchema added in v0.0.9

type GraphQlSchema struct {
	Data *GraphQlData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlSchema) GetExtraProperties added in v0.0.9

func (g *GraphQlSchema) GetExtraProperties() map[string]interface{}

func (*GraphQlSchema) String added in v0.0.9

func (g *GraphQlSchema) String() string

func (*GraphQlSchema) UnmarshalJSON added in v0.0.9

func (g *GraphQlSchema) UnmarshalJSON(data []byte) error

type GraphQlSchemaData added in v0.0.9

type GraphQlSchemaData struct {
	Types []*GraphQlType `json:"types,omitempty" url:"types,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlSchemaData) GetExtraProperties added in v0.0.9

func (g *GraphQlSchemaData) GetExtraProperties() map[string]interface{}

func (*GraphQlSchemaData) String added in v0.0.9

func (g *GraphQlSchemaData) String() string

func (*GraphQlSchemaData) UnmarshalJSON added in v0.0.9

func (g *GraphQlSchemaData) UnmarshalJSON(data []byte) error

type GraphQlType added in v0.0.9

type GraphQlType struct {
	Name        string          `json:"name" url:"name"`
	Kind        string          `json:"kind" url:"kind"`
	Description *string         `json:"description,omitempty" url:"description,omitempty"`
	Fields      []*GraphQlField `json:"fields,omitempty" url:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlType) GetExtraProperties added in v0.0.9

func (g *GraphQlType) GetExtraProperties() map[string]interface{}

func (*GraphQlType) String added in v0.0.9

func (g *GraphQlType) String() string

func (*GraphQlType) UnmarshalJSON added in v0.0.9

func (g *GraphQlType) UnmarshalJSON(data []byte) error

type HttpHeaders added in v0.0.8

type HttpHeaders struct {
	Location                  *string `json:"location,omitempty" url:"location,omitempty"`
	Server                    *string `json:"server,omitempty" url:"server,omitempty"`
	XPoweredBy                *string `json:"xPoweredBy,omitempty" url:"xPoweredBy,omitempty"`
	XFrameOptions             *string `json:"xFrameOptions,omitempty" url:"xFrameOptions,omitempty"`
	XClusterName              *string `json:"xClusterName,omitempty" url:"xClusterName,omitempty"`
	CrossOriginResourcePolicy *string `json:"crossOriginResourcePolicy,omitempty" url:"crossOriginResourcePolicy,omitempty"`
	AccessControlAllowOrigin  *string `json:"accessControlAllowOrigin,omitempty" url:"accessControlAllowOrigin,omitempty"`
	XAspNetVersion            *string `json:"xAspNetVersion,omitempty" url:"xAspNetVersion,omitempty"`
	AllowedHttpMethods        *string `json:"allowedHttpMethods,omitempty" url:"allowedHttpMethods,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHeaders) GetExtraProperties added in v0.0.8

func (h *HttpHeaders) GetExtraProperties() map[string]interface{}

func (*HttpHeaders) String added in v0.0.8

func (h *HttpHeaders) String() string

func (*HttpHeaders) UnmarshalJSON added in v0.0.8

func (h *HttpHeaders) UnmarshalJSON(data []byte) error

type HttpMethod added in v0.0.20

type HttpMethod string
const (
	HttpMethodGet     HttpMethod = "GET"
	HttpMethodPost    HttpMethod = "POST"
	HttpMethodPut     HttpMethod = "PUT"
	HttpMethodDelete  HttpMethod = "DELETE"
	HttpMethodPatch   HttpMethod = "PATCH"
	HttpMethodOptions HttpMethod = "OPTIONS"
	HttpMethodHead    HttpMethod = "HEAD"
	HttpMethodConnect HttpMethod = "CONNECT"
	HttpMethodTrace   HttpMethod = "TRACE"
)

func NewHttpMethodFromString added in v0.0.20

func NewHttpMethodFromString(s string) (HttpMethod, error)

func (HttpMethod) Ptr added in v0.0.20

func (h HttpMethod) Ptr() *HttpMethod

type ModuleName added in v0.0.23

type ModuleName string
const (
	ModuleNameBufferOverflowContentHeader  ModuleName = "BUFFER_OVERFLOW_CONTENT_HEADER"
	ModuleNameCrlfInjection                ModuleName = "CRLF_INJECTION"
	ModuleNamePathTraversal                ModuleName = "PATH_TRAVERSAL"
	ModuleNameRceModFile                   ModuleName = "RCE_MOD_FILE"
	ModuleNameReverseProxyMisconfiguration ModuleName = "REVERSE_PROXY_MISCONFIGURATION"
	ModuleNameXPoweredByHeaderGrab         ModuleName = "X_POWERED_BY_HEADER_GRAB"
)

func NewModuleNameFromString added in v0.0.23

func NewModuleNameFromString(s string) (ModuleName, error)

func (ModuleName) Ptr added in v0.0.23

func (m ModuleName) Ptr() *ModuleName

type MultiplePathsAttemptInfo added in v0.0.23

type MultiplePathsAttemptInfo struct {
	Paths []*PathInfo `json:"paths,omitempty" url:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiplePathsAttemptInfo) GetExtraProperties added in v0.0.23

func (m *MultiplePathsAttemptInfo) GetExtraProperties() map[string]interface{}

func (*MultiplePathsAttemptInfo) String added in v0.0.23

func (m *MultiplePathsAttemptInfo) String() string

func (*MultiplePathsAttemptInfo) UnmarshalJSON added in v0.0.23

func (m *MultiplePathsAttemptInfo) UnmarshalJSON(data []byte) error

type OAuthFlow added in v0.0.13

type OAuthFlow struct {
	AuthorizationUrl *string           `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"`
	TokenUrl         *string           `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"`
	RefreshUrl       *string           `json:"refreshUrl,omitempty" url:"refreshUrl,omitempty"`
	Scopes           map[string]string `json:"scopes,omitempty" url:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthFlow) GetExtraProperties added in v0.0.13

func (o *OAuthFlow) GetExtraProperties() map[string]interface{}

func (*OAuthFlow) String added in v0.0.13

func (o *OAuthFlow) String() string

func (*OAuthFlow) UnmarshalJSON added in v0.0.13

func (o *OAuthFlow) UnmarshalJSON(data []byte) error

type OAuthFlows added in v0.0.13

type OAuthFlows struct {
	Implicit          *OAuthFlow `json:"implicit,omitempty" url:"implicit,omitempty"`
	Password          *OAuthFlow `json:"password,omitempty" url:"password,omitempty"`
	ClientCredentials *OAuthFlow `json:"clientCredentials,omitempty" url:"clientCredentials,omitempty"`
	AuthorizationCode *OAuthFlow `json:"authorizationCode,omitempty" url:"authorizationCode,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthFlows) GetExtraProperties added in v0.0.13

func (o *OAuthFlows) GetExtraProperties() map[string]interface{}

func (*OAuthFlows) String added in v0.0.13

func (o *OAuthFlows) String() string

func (*OAuthFlows) UnmarshalJSON added in v0.0.13

func (o *OAuthFlows) UnmarshalJSON(data []byte) error

type PageCaptureMethod added in v0.0.21

type PageCaptureMethod string
const (
	PageCaptureMethodRequest     PageCaptureMethod = "REQUEST"
	PageCaptureMethodBrowser     PageCaptureMethod = "BROWSER"
	PageCaptureMethodBrowserbase PageCaptureMethod = "BROWSERBASE"
)

func NewPageCaptureMethodFromString added in v0.0.21

func NewPageCaptureMethodFromString(s string) (PageCaptureMethod, error)

func (PageCaptureMethod) Ptr added in v0.0.21

type PageCaptureReport added in v0.0.21

type PageCaptureReport struct {
	Target      string   `json:"target" url:"target"`
	HtmlEncoded *string  `json:"html_encoded,omitempty" url:"html_encoded,omitempty"`
	Errors      []string `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*PageCaptureReport) GetExtraProperties added in v0.0.21

func (p *PageCaptureReport) GetExtraProperties() map[string]interface{}

func (*PageCaptureReport) String added in v0.0.21

func (p *PageCaptureReport) String() string

func (*PageCaptureReport) UnmarshalJSON added in v0.0.21

func (p *PageCaptureReport) UnmarshalJSON(data []byte) error

type PageScreenshotReport added in v0.0.21

type PageScreenshotReport struct {
	Target      string   `json:"target" url:"target"`
	HtmlEncoded *string  `json:"html_encoded,omitempty" url:"html_encoded,omitempty"`
	Screenshot  *[]byte  `json:"screenshot,omitempty" url:"screenshot,omitempty"`
	Errors      []string `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*PageScreenshotReport) GetExtraProperties added in v0.0.21

func (p *PageScreenshotReport) GetExtraProperties() map[string]interface{}

func (*PageScreenshotReport) String added in v0.0.21

func (p *PageScreenshotReport) String() string

func (*PageScreenshotReport) UnmarshalJSON added in v0.0.21

func (p *PageScreenshotReport) UnmarshalJSON(data []byte) error

type ParsedParams added in v0.0.20

type ParsedParams struct {
	PathParams      map[string]string `json:"pathParams,omitempty" url:"pathParams,omitempty"`
	QueryParams     map[string]string `json:"queryParams,omitempty" url:"queryParams,omitempty"`
	HeaderParams    map[string]string `json:"headerParams,omitempty" url:"headerParams,omitempty"`
	BodyParams      string            `json:"bodyParams" url:"bodyParams"`
	FormParams      map[string]string `json:"formParams,omitempty" url:"formParams,omitempty"`
	MultipartParams map[string]string `json:"multipartParams,omitempty" url:"multipartParams,omitempty"`
	// contains filtered or unexported fields
}

func (*ParsedParams) GetExtraProperties added in v0.0.20

func (p *ParsedParams) GetExtraProperties() map[string]interface{}

func (*ParsedParams) String added in v0.0.20

func (p *ParsedParams) String() string

func (*ParsedParams) UnmarshalJSON added in v0.0.20

func (p *ParsedParams) UnmarshalJSON(data []byte) error

type PathInfo added in v0.0.23

type PathInfo struct {
	Path     string               `json:"path" url:"path"`
	Request  *GeneralRequestInfo  `json:"request,omitempty" url:"request,omitempty"`
	Response *GeneralResponseInfo `json:"response,omitempty" url:"response,omitempty"`
	Finding  *bool                `json:"finding,omitempty" url:"finding,omitempty"`
	// contains filtered or unexported fields
}

func (*PathInfo) GetExtraProperties added in v0.0.23

func (p *PathInfo) GetExtraProperties() map[string]interface{}

func (*PathInfo) String added in v0.0.23

func (p *PathInfo) String() string

func (*PathInfo) UnmarshalJSON added in v0.0.23

func (p *PathInfo) UnmarshalJSON(data []byte) error

type ProbeType added in v0.0.23

type ProbeType string
const (
	ProbeTypeEnumeration ProbeType = "ENUMERATION"
	ProbeTypeValidation  ProbeType = "VALIDATION"
)

func NewProbeTypeFromString added in v0.0.23

func NewProbeTypeFromString(s string) (ProbeType, error)

func (ProbeType) Ptr added in v0.0.23

func (p ProbeType) Ptr() *ProbeType

type PublicKeyAlgorithm added in v0.0.8

type PublicKeyAlgorithm string
const (
	PublicKeyAlgorithmRsa     PublicKeyAlgorithm = "RSA"
	PublicKeyAlgorithmDsa     PublicKeyAlgorithm = "DSA"
	PublicKeyAlgorithmEcdsa   PublicKeyAlgorithm = "ECDSA"
	PublicKeyAlgorithmEd25519 PublicKeyAlgorithm = "Ed25519"
	PublicKeyAlgorithmUnknown PublicKeyAlgorithm = "Unknown"
)

func NewPublicKeyAlgorithmFromString added in v0.0.8

func NewPublicKeyAlgorithmFromString(s string) (PublicKeyAlgorithm, error)

func (PublicKeyAlgorithm) Ptr added in v0.0.8

type QueryParams added in v0.0.21

type QueryParams struct {
	Name          string   `json:"name" url:"name"`
	ExampleValues []string `json:"exampleValues,omitempty" url:"exampleValues,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryParams) GetExtraProperties added in v0.0.21

func (q *QueryParams) GetExtraProperties() map[string]interface{}

func (*QueryParams) String added in v0.0.21

func (q *QueryParams) String() string

func (*QueryParams) UnmarshalJSON added in v0.0.21

func (q *QueryParams) UnmarshalJSON(data []byte) error

type RequestParams added in v0.0.20

type RequestParams struct {
	PathParams      string `json:"pathParams" url:"pathParams"`
	QueryParams     string `json:"queryParams" url:"queryParams"`
	HeaderParams    string `json:"headerParams" url:"headerParams"`
	BodyParams      string `json:"bodyParams" url:"bodyParams"`
	FormParams      string `json:"formParams" url:"formParams"`
	MultipartParams string `json:"multipartParams" url:"multipartParams"`
	// contains filtered or unexported fields
}

func (*RequestParams) GetExtraProperties added in v0.0.20

func (r *RequestParams) GetExtraProperties() map[string]interface{}

func (*RequestParams) String added in v0.0.20

func (r *RequestParams) String() string

func (*RequestParams) UnmarshalJSON added in v0.0.20

func (r *RequestParams) UnmarshalJSON(data []byte) error

type RequestReport added in v0.0.20

type RequestReport struct {
	BaseUrl         string            `json:"baseUrl" url:"baseUrl"`
	Path            string            `json:"path" url:"path"`
	Method          HttpMethod        `json:"method" url:"method"`
	PathParams      map[string]string `json:"pathParams,omitempty" url:"pathParams,omitempty"`
	QueryParams     map[string]string `json:"queryParams,omitempty" url:"queryParams,omitempty"`
	HeaderParams    map[string]string `json:"headerParams,omitempty" url:"headerParams,omitempty"`
	BodyParams      *string           `json:"bodyParams,omitempty" url:"bodyParams,omitempty"`
	FormParams      map[string]string `json:"formParams,omitempty" url:"formParams,omitempty"`
	MultipartParams map[string]string `json:"multipartParams,omitempty" url:"multipartParams,omitempty"`
	VulnTypes       []VulnType        `json:"vulnTypes,omitempty" url:"vulnTypes,omitempty"`
	StatusCode      int               `json:"statusCode" url:"statusCode"`
	ResponseBody    string            `json:"responseBody" url:"responseBody"`
	ResponseHeaders map[string]string `json:"responseHeaders,omitempty" url:"responseHeaders,omitempty"`
	Errors          []string          `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestReport) GetExtraProperties added in v0.0.20

func (r *RequestReport) GetExtraProperties() map[string]interface{}

func (*RequestReport) String added in v0.0.20

func (r *RequestReport) String() string

func (*RequestReport) UnmarshalJSON added in v0.0.20

func (r *RequestReport) UnmarshalJSON(data []byte) error

type RequestSchema added in v0.0.20

type RequestSchema struct {
	Type                 []string          `json:"type,omitempty" url:"type,omitempty"`
	Properties           []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"`
	Required             []string          `json:"required,omitempty" url:"required,omitempty"`
	Items                *RequestSchema    `json:"items,omitempty" url:"items,omitempty"`
	AdditionalProperties *RequestSchema    `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"`
	AllOf                []*RequestSchema  `json:"allOf,omitempty" url:"allOf,omitempty"`
	OneOf                []*RequestSchema  `json:"oneOf,omitempty" url:"oneOf,omitempty"`
	AnyOf                []*RequestSchema  `json:"anyOf,omitempty" url:"anyOf,omitempty"`
	Not                  *RequestSchema    `json:"not,omitempty" url:"not,omitempty"`
	Description          *string           `json:"description,omitempty" url:"description,omitempty"`
	Format               *string           `json:"format,omitempty" url:"format,omitempty"`
	Default              *string           `json:"default,omitempty" url:"default,omitempty"`
	Example              interface{}       `json:"example,omitempty" url:"example,omitempty"`
	Enum                 []interface{}     `json:"enum,omitempty" url:"enum,omitempty"`
	MultipleOf           *float64          `json:"multipleOf,omitempty" url:"multipleOf,omitempty"`
	Maximum              *float64          `json:"maximum,omitempty" url:"maximum,omitempty"`
	ExclusiveMaximum     *bool             `json:"exclusiveMaximum,omitempty" url:"exclusiveMaximum,omitempty"`
	Minimum              *float64          `json:"minimum,omitempty" url:"minimum,omitempty"`
	ExclusiveMinimum     *bool             `json:"exclusiveMinimum,omitempty" url:"exclusiveMinimum,omitempty"`
	MaxLength            *int              `json:"maxLength,omitempty" url:"maxLength,omitempty"`
	MinLength            *int              `json:"minLength,omitempty" url:"minLength,omitempty"`
	Pattern              *string           `json:"pattern,omitempty" url:"pattern,omitempty"`
	MaxItems             *int              `json:"maxItems,omitempty" url:"maxItems,omitempty"`
	MinItems             *int              `json:"minItems,omitempty" url:"minItems,omitempty"`
	UniqueItems          *bool             `json:"uniqueItems,omitempty" url:"uniqueItems,omitempty"`
	MaxProperties        *int              `json:"maxProperties,omitempty" url:"maxProperties,omitempty"`
	MinProperties        *int              `json:"minProperties,omitempty" url:"minProperties,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSchema) GetExtraProperties added in v0.0.20

func (r *RequestSchema) GetExtraProperties() map[string]interface{}

func (*RequestSchema) String added in v0.0.20

func (r *RequestSchema) String() string

func (*RequestSchema) UnmarshalJSON added in v0.0.20

func (r *RequestSchema) UnmarshalJSON(data []byte) error

type ResponseUnion added in v0.0.23

type ResponseUnion struct {
	Type                     string
	GeneralResponse          *GeneralResponseInfo
	VersionEnumerateResponse *VersionEnumerateResponseInfo
}

func NewResponseUnionFromGeneralResponse added in v0.0.23

func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion

func NewResponseUnionFromVersionEnumerateResponse added in v0.0.23

func NewResponseUnionFromVersionEnumerateResponse(value *VersionEnumerateResponseInfo) *ResponseUnion

func (*ResponseUnion) Accept added in v0.0.23

func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error

func (ResponseUnion) MarshalJSON added in v0.0.23

func (r ResponseUnion) MarshalJSON() ([]byte, error)

func (*ResponseUnion) UnmarshalJSON added in v0.0.23

func (r *ResponseUnion) UnmarshalJSON(data []byte) error

type ResponseUnionVisitor added in v0.0.23

type ResponseUnionVisitor interface {
	VisitGeneralResponse(*GeneralResponseInfo) error
	VisitVersionEnumerateResponse(*VersionEnumerateResponseInfo) error
}

type Route added in v0.0.9

type Route struct {
	Path               string               `json:"path" url:"path"`
	QueryParams        []string             `json:"queryParams,omitempty" url:"queryParams,omitempty"`
	Security           *SecurityRequirement `json:"security,omitempty" url:"security,omitempty"`
	Method             string               `json:"method" url:"method"`
	Type               ApiType              `json:"type" url:"type"`
	Description        string               `json:"description" url:"description"`
	ResponseProperties map[string][]string  `json:"responseProperties,omitempty" url:"responseProperties,omitempty"`
	RequestSchema      *RequestSchema       `json:"requestSchema,omitempty" url:"requestSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) GetExtraProperties added in v0.0.9

func (r *Route) GetExtraProperties() map[string]interface{}

func (*Route) String added in v0.0.9

func (r *Route) String() string

func (*Route) UnmarshalJSON added in v0.0.9

func (r *Route) UnmarshalJSON(data []byte) error

type RouteCaptureReport added in v0.0.21

type RouteCaptureReport struct {
	Target string      `json:"target" url:"target"`
	Routes []*WebRoute `json:"routes,omitempty" url:"routes,omitempty"`
	Urls   []string    `json:"urls,omitempty" url:"urls,omitempty"`
	Errors []string    `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteCaptureReport) GetExtraProperties added in v0.0.21

func (r *RouteCaptureReport) GetExtraProperties() map[string]interface{}

func (*RouteCaptureReport) String added in v0.0.21

func (r *RouteCaptureReport) String() string

func (*RouteCaptureReport) UnmarshalJSON added in v0.0.21

func (r *RouteCaptureReport) UnmarshalJSON(data []byte) error

type RoutesReport added in v0.0.9

type RoutesReport struct {
	Target          string                                 `json:"target" url:"target"`
	AppType         ApiType                                `json:"appType" url:"appType"`
	BaseEndpointUrl string                                 `json:"baseEndpointUrl" url:"baseEndpointUrl"`
	Version         *string                                `json:"version,omitempty" url:"version,omitempty"`
	SchemaUrl       *string                                `json:"schemaUrl,omitempty" url:"schemaUrl,omitempty"`
	Routes          []*Route                               `json:"routes,omitempty" url:"routes,omitempty"`
	SecuritySchemes map[SecuritySchemeName]*SecurityScheme `json:"securitySchemes,omitempty" url:"securitySchemes,omitempty"`
	Security        []*SecurityRequirement                 `json:"security,omitempty" url:"security,omitempty"`
	Queries         []*GraphQlQuery                        `json:"queries,omitempty" url:"queries,omitempty"`
	Raw             string                                 `json:"raw" url:"raw"`
	Errors          []string                               `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutesReport) GetExtraProperties added in v0.0.9

func (r *RoutesReport) GetExtraProperties() map[string]interface{}

func (*RoutesReport) String added in v0.0.9

func (r *RoutesReport) String() string

func (*RoutesReport) UnmarshalJSON added in v0.0.9

func (r *RoutesReport) UnmarshalJSON(data []byte) error

type SchemaProperty added in v0.0.20

type SchemaProperty struct {
	Name                 string            `json:"name" url:"name"`
	Type                 []string          `json:"type,omitempty" url:"type,omitempty"`
	Format               *string           `json:"format,omitempty" url:"format,omitempty"`
	Description          *string           `json:"description,omitempty" url:"description,omitempty"`
	Required             *bool             `json:"required,omitempty" url:"required,omitempty"`
	Items                *RequestSchema    `json:"items,omitempty" url:"items,omitempty"`
	Properties           []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"`
	AdditionalProperties *RequestSchema    `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"`
	Enum                 []string          `json:"enum,omitempty" url:"enum,omitempty"`
	Example              *string           `json:"example,omitempty" url:"example,omitempty"`
	// contains filtered or unexported fields
}

func (*SchemaProperty) GetExtraProperties added in v0.0.20

func (s *SchemaProperty) GetExtraProperties() map[string]interface{}

func (*SchemaProperty) String added in v0.0.20

func (s *SchemaProperty) String() string

func (*SchemaProperty) UnmarshalJSON added in v0.0.20

func (s *SchemaProperty) UnmarshalJSON(data []byte) error

type SecurityRequirement added in v0.0.13

type SecurityRequirement struct {
	Schemes map[string][]string `json:"schemes,omitempty" url:"schemes,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityRequirement) GetExtraProperties added in v0.0.13

func (s *SecurityRequirement) GetExtraProperties() map[string]interface{}

func (*SecurityRequirement) String added in v0.0.13

func (s *SecurityRequirement) String() string

func (*SecurityRequirement) UnmarshalJSON added in v0.0.13

func (s *SecurityRequirement) UnmarshalJSON(data []byte) error

type SecurityScheme added in v0.0.13

type SecurityScheme struct {
	Type             SecuritySchemeType  `json:"type" url:"type"`
	Description      *string             `json:"description,omitempty" url:"description,omitempty"`
	Name             *SecuritySchemeName `json:"name,omitempty" url:"name,omitempty"`
	In               *string             `json:"in,omitempty" url:"in,omitempty"`
	Scheme           *string             `json:"scheme,omitempty" url:"scheme,omitempty"`
	BearerFormat     *string             `json:"bearerFormat,omitempty" url:"bearerFormat,omitempty"`
	Flow             *string             `json:"flow,omitempty" url:"flow,omitempty"`
	AuthorizationUrl *string             `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"`
	TokenUrl         *string             `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"`
	Scopes           map[string]string   `json:"scopes,omitempty" url:"scopes,omitempty"`
	Flows            *OAuthFlows         `json:"flows,omitempty" url:"flows,omitempty"`
	OpenIdConnectUrl *string             `json:"openIdConnectUrl,omitempty" url:"openIdConnectUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityScheme) GetExtraProperties added in v0.0.13

func (s *SecurityScheme) GetExtraProperties() map[string]interface{}

func (*SecurityScheme) String added in v0.0.13

func (s *SecurityScheme) String() string

func (*SecurityScheme) UnmarshalJSON added in v0.0.13

func (s *SecurityScheme) UnmarshalJSON(data []byte) error

type SecuritySchemeName added in v0.0.13

type SecuritySchemeName = string

type SecuritySchemeType added in v0.0.13

type SecuritySchemeType string
const (
	SecuritySchemeTypeBasic         SecuritySchemeType = "basic"
	SecuritySchemeTypeApiKey        SecuritySchemeType = "apiKey"
	SecuritySchemeTypeHttp          SecuritySchemeType = "http"
	SecuritySchemeTypeOauth2        SecuritySchemeType = "oauth2"
	SecuritySchemeTypeOpenIdConnect SecuritySchemeType = "openIdConnect"
	SecuritySchemeTypeMutualTls     SecuritySchemeType = "mutualTLS"
)

func NewSecuritySchemeTypeFromString added in v0.0.13

func NewSecuritySchemeTypeFromString(s string) (SecuritySchemeType, error)

func (SecuritySchemeType) Ptr added in v0.0.13

type ServerType added in v0.0.23

type ServerType string
const (
	ServerTypeApache ServerType = "APACHE"
	ServerTypeNginx  ServerType = "NGINX"
)

func NewServerTypeFromString added in v0.0.23

func NewServerTypeFromString(s string) (ServerType, error)

func (ServerType) Ptr added in v0.0.23

func (s ServerType) Ptr() *ServerType

type SignatureAlgorithm added in v0.0.8

type SignatureAlgorithm string
const (
	SignatureAlgorithmMd2Rsa       SignatureAlgorithm = "MD2RSA"
	SignatureAlgorithmMd5Rsa       SignatureAlgorithm = "MD5RSA"
	SignatureAlgorithmSha1Rsa      SignatureAlgorithm = "SHA1RSA"
	SignatureAlgorithmSha256Rsa    SignatureAlgorithm = "SHA256RSA"
	SignatureAlgorithmSha384Rsa    SignatureAlgorithm = "SHA384RSA"
	SignatureAlgorithmSha512Rsa    SignatureAlgorithm = "SHA512RSA"
	SignatureAlgorithmDsasha1      SignatureAlgorithm = "DSASHA1"
	SignatureAlgorithmDsasha256    SignatureAlgorithm = "DSASHA256"
	SignatureAlgorithmEcdsasha1    SignatureAlgorithm = "ECDSASHA1"
	SignatureAlgorithmEcdsasha256  SignatureAlgorithm = "ECDSASHA256"
	SignatureAlgorithmEcdsasha384  SignatureAlgorithm = "ECDSASHA384"
	SignatureAlgorithmEcdsasha512  SignatureAlgorithm = "ECDSASHA512"
	SignatureAlgorithmSha256Rsapss SignatureAlgorithm = "SHA256RSAPSS"
	SignatureAlgorithmSha384Rsapss SignatureAlgorithm = "SHA384RSAPSS"
	SignatureAlgorithmSha512Rsapss SignatureAlgorithm = "SHA512RSAPSS"
	SignatureAlgorithmEd25519      SignatureAlgorithm = "Ed25519"
)

func NewSignatureAlgorithmFromString added in v0.0.8

func NewSignatureAlgorithmFromString(s string) (SignatureAlgorithm, error)

func (SignatureAlgorithm) Ptr added in v0.0.8

type TlsInfo added in v0.0.8

type TlsInfo struct {
	Version      *TlsVersion    `json:"version,omitempty" url:"version,omitempty"`
	CipherSuite  *string        `json:"cipherSuite,omitempty" url:"cipherSuite,omitempty"`
	Certificates []*Certificate `json:"certificates,omitempty" url:"certificates,omitempty"`
	// contains filtered or unexported fields
}

func (*TlsInfo) GetExtraProperties added in v0.0.8

func (t *TlsInfo) GetExtraProperties() map[string]interface{}

func (*TlsInfo) String added in v0.0.8

func (t *TlsInfo) String() string

func (*TlsInfo) UnmarshalJSON added in v0.0.8

func (t *TlsInfo) UnmarshalJSON(data []byte) error

type TlsVersion added in v0.0.8

type TlsVersion string
const (
	TlsVersionSsl10   TlsVersion = "SSL10"
	TlsVersionSsl20   TlsVersion = "SSL20"
	TlsVersionSsl30   TlsVersion = "SSL30"
	TlsVersionTls10   TlsVersion = "TLS10"
	TlsVersionTls11   TlsVersion = "TLS11"
	TlsVersionTls12   TlsVersion = "TLS12"
	TlsVersionTls13   TlsVersion = "TLS13"
	TlsVersionUnknown TlsVersion = "UNKNOWN"
)

func NewTlsVersionFromString added in v0.0.8

func NewTlsVersionFromString(s string) (TlsVersion, error)

func (TlsVersion) Ptr added in v0.0.8

func (t TlsVersion) Ptr() *TlsVersion

type UrlDetails

type UrlDetails struct {
	Url    string `json:"url" url:"url"`
	Status string `json:"status" url:"status"`
	Size   int    `json:"size" url:"size"`
	// contains filtered or unexported fields
}

func (*UrlDetails) GetExtraProperties

func (u *UrlDetails) GetExtraProperties() map[string]interface{}

func (*UrlDetails) String

func (u *UrlDetails) String() string

func (*UrlDetails) UnmarshalJSON

func (u *UrlDetails) UnmarshalJSON(data []byte) error

type VersionEnumerateAttemptInfo added in v0.0.23

type VersionEnumerateAttemptInfo struct {
	Request  *GeneralRequestInfo           `json:"request,omitempty" url:"request,omitempty"`
	Response *VersionEnumerateResponseInfo `json:"response,omitempty" url:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionEnumerateAttemptInfo) GetExtraProperties added in v0.0.23

func (v *VersionEnumerateAttemptInfo) GetExtraProperties() map[string]interface{}

func (*VersionEnumerateAttemptInfo) String added in v0.0.23

func (v *VersionEnumerateAttemptInfo) String() string

func (*VersionEnumerateAttemptInfo) UnmarshalJSON added in v0.0.23

func (v *VersionEnumerateAttemptInfo) UnmarshalJSON(data []byte) error

type VersionEnumerateResponseInfo added in v0.0.23

type VersionEnumerateResponseInfo struct {
	StatusCode    int     `json:"statusCode" url:"statusCode"`
	Header        *string `json:"header,omitempty" url:"header,omitempty"`
	VersionType   *string `json:"versionType,omitempty" url:"versionType,omitempty"`
	VersionNumber *string `json:"versionNumber,omitempty" url:"versionNumber,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionEnumerateResponseInfo) GetExtraProperties added in v0.0.23

func (v *VersionEnumerateResponseInfo) GetExtraProperties() map[string]interface{}

func (*VersionEnumerateResponseInfo) String added in v0.0.23

func (*VersionEnumerateResponseInfo) UnmarshalJSON added in v0.0.23

func (v *VersionEnumerateResponseInfo) UnmarshalJSON(data []byte) error

type VulnType added in v0.0.20

type VulnType string
const (
	VulnTypeCommand        VulnType = "COMMAND"
	VulnTypeSql            VulnType = "SQL"
	VulnTypeXss            VulnType = "XSS"
	VulnTypeAuth           VulnType = "AUTH"
	VulnTypeSensitiveerror VulnType = "SENSITIVEERROR"
	VulnTypeSqlinjection   VulnType = "SQLINJECTION"
	VulnTypeTemplate       VulnType = "TEMPLATE"
	VulnTypeNosql          VulnType = "NOSQL"
)

func NewVulnTypeFromString added in v0.0.20

func NewVulnTypeFromString(s string) (VulnType, error)

func (VulnType) Ptr added in v0.0.20

func (v VulnType) Ptr() *VulnType

type WebRoute added in v0.0.21

type WebRoute struct {
	Url         string         `json:"url" url:"url"`
	Path        *string        `json:"path,omitempty" url:"path,omitempty"`
	Method      *HttpMethod    `json:"method,omitempty" url:"method,omitempty"`
	QueryParams []*QueryParams `json:"queryParams,omitempty" url:"queryParams,omitempty"`
	BodyParams  []*BodyParams  `json:"bodyParams,omitempty" url:"bodyParams,omitempty"`
	// contains filtered or unexported fields
}

func (*WebRoute) GetExtraProperties added in v0.0.21

func (w *WebRoute) GetExtraProperties() map[string]interface{}

func (*WebRoute) String added in v0.0.21

func (w *WebRoute) String() string

func (*WebRoute) UnmarshalJSON added in v0.0.21

func (w *WebRoute) UnmarshalJSON(data []byte) error

type WebServer added in v0.0.23

type WebServer struct {
	Target   string     `json:"target" url:"target"`
	Attempts []*Attempt `json:"attempts,omitempty" url:"attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*WebServer) GetExtraProperties added in v0.0.23

func (w *WebServer) GetExtraProperties() map[string]interface{}

func (*WebServer) String added in v0.0.23

func (w *WebServer) String() string

func (*WebServer) UnmarshalJSON added in v0.0.23

func (w *WebServer) UnmarshalJSON(data []byte) error

type WebServerReport added in v0.0.23

type WebServerReport struct {
	Server     ServerType   `json:"server" url:"server"`
	Probe      ProbeType    `json:"probe" url:"probe"`
	WebServers []*WebServer `json:"webServers,omitempty" url:"webServers,omitempty"`
	Errors     []string     `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*WebServerReport) GetExtraProperties added in v0.0.23

func (w *WebServerReport) GetExtraProperties() map[string]interface{}

func (*WebServerReport) String added in v0.0.23

func (w *WebServerReport) String() string

func (*WebServerReport) UnmarshalJSON added in v0.0.23

func (w *WebServerReport) UnmarshalJSON(data []byte) error

type WebServerTypeConfig added in v0.0.23

type WebServerTypeConfig struct {
	Targets        []string   `json:"targets,omitempty" url:"targets,omitempty"`
	Server         ServerType `json:"server" url:"server"`
	Probe          ProbeType  `json:"probe" url:"probe"`
	Timeout        int        `json:"timeout" url:"timeout"`
	SuccessfulOnly bool       `json:"successfulOnly" url:"successfulOnly"`
	// contains filtered or unexported fields
}

func (*WebServerTypeConfig) GetExtraProperties added in v0.0.23

func (w *WebServerTypeConfig) GetExtraProperties() map[string]interface{}

func (*WebServerTypeConfig) String added in v0.0.23

func (w *WebServerTypeConfig) String() string

func (*WebServerTypeConfig) UnmarshalJSON added in v0.0.23

func (w *WebServerTypeConfig) UnmarshalJSON(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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