webassess

package
v0.0.0-...-7dbec7d Latest Latest
Warning

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

Go to latest
Published: Sep 20, 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 Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 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 Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 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 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 Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 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 Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type UrlAssessment

type UrlAssessment struct {
	CodeSummary              string `json:"codeSummary" url:"codeSummary"`
	PotentialVulnerabilities bool   `json:"potentialVulnerabilities" url:"potentialVulnerabilities"`
	VulnerabilitiesSummary   string `json:"vulnerabilitiesSummary" url:"vulnerabilitiesSummary"`
	PotentialSensitiveData   bool   `json:"potentialSensitiveData" url:"potentialSensitiveData"`
	SensitiveDataSummary     string `json:"sensitiveDataSummary" url:"sensitiveDataSummary"`
	// contains filtered or unexported fields
}

func (*UrlAssessment) GetExtraProperties

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

func (*UrlAssessment) String

func (u *UrlAssessment) String() string

func (*UrlAssessment) UnmarshalJSON

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

type UrlReport

type UrlReport struct {
	Target string   `json:"target" url:"target"`
	Output string   `json:"output" url:"output"`
	Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*UrlReport) GetExtraProperties

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

func (*UrlReport) String

func (u *UrlReport) String() string

func (*UrlReport) UnmarshalJSON

func (u *UrlReport) 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