Documentation ¶
Index ¶
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Complex128(c complex128) *complex128
- func Complex64(c complex64) *complex64
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func Int8(i int8) *int8
- func MustParseDate(date string) time.Time
- func MustParseDateTime(datetime string) time.Time
- func Rune(r rune) *rune
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func UUID(u uuid.UUID) *uuid.UUID
- func Uint(u uint) *uint
- func Uint16(u uint16) *uint16
- func Uint32(u uint32) *uint32
- func Uint64(u uint64) *uint64
- func Uint8(u uint8) *uint8
- func Uintptr(u uintptr) *uintptr
- type ApiType
- type Certificate
- type FingerprintReport
- type FuzzPathReport
- type GraphQlData
- type GraphQlField
- type GraphQlQuery
- type GraphQlSchema
- type GraphQlSchemaData
- type GraphQlType
- type HttpHeaders
- type PublicKeyAlgorithm
- type Route
- type RoutesReport
- type SignatureAlgorithm
- type TlsInfo
- type TlsVersion
- type UrlDetails
- type WebpageCaptureReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(c complex128) *complex128
Complex128 returns a pointer to the given complex128 value.
func MustParseDate ¶
MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.
func MustParseDateTime ¶
MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.
Types ¶
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 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 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
func (p PublicKeyAlgorithm) Ptr() *PublicKeyAlgorithm
type Route ¶ added in v0.0.9
type Route struct { Path string `json:"path" url:"path"` QueryParams []string `json:"queryParams,omitempty" url:"queryParams,omitempty"` Auth *string `json:"auth,omitempty" url:"auth,omitempty"` Method string `json:"method" url:"method"` Type ApiType `json:"type" url:"type"` Description string `json:"description" url:"description"` // contains filtered or unexported fields }
func (*Route) GetExtraProperties ¶ added in v0.0.9
func (*Route) UnmarshalJSON ¶ added in v0.0.9
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"` 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 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
func (s SignatureAlgorithm) Ptr() *SignatureAlgorithm
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 (*TlsInfo) UnmarshalJSON ¶ added in v0.0.8
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 WebpageCaptureReport ¶ added in v0.0.8
type WebpageCaptureReport 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 (*WebpageCaptureReport) GetExtraProperties ¶ added in v0.0.8
func (w *WebpageCaptureReport) GetExtraProperties() map[string]interface{}
func (*WebpageCaptureReport) String ¶ added in v0.0.8
func (w *WebpageCaptureReport) String() string
func (*WebpageCaptureReport) UnmarshalJSON ¶ added in v0.0.8
func (w *WebpageCaptureReport) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.