signal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_signal_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Os

type Os struct {

	// The predicted OS Family classification generated
	// against captured network data used to determine
	// the family of the OS that made the network call
	PredictedOsFamily string `protobuf:"bytes,1,opt,name=predicted_os_family,json=predictedOsFamily,proto3" json:"predicted_os_family,omitempty"`
	// The confidence score given to the predicted
	// OS Family
	PredictedOsFamilyScore float64 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines the signals regarding OS classification

func (*Os) Descriptor deprecated

func (*Os) Descriptor() ([]byte, []int)

Deprecated: Use Os.ProtoReflect.Descriptor instead.

func (*Os) GetPredictedOsFamily

func (x *Os) GetPredictedOsFamily() string

func (*Os) GetPredictedOsFamilyScore

func (x *Os) GetPredictedOsFamilyScore() float64

func (*Os) ProtoMessage

func (*Os) ProtoMessage()

func (*Os) ProtoReflect

func (x *Os) ProtoReflect() protoreflect.Message

func (*Os) Reset

func (x *Os) Reset()

func (*Os) String

func (x *Os) String() string

func (*Os) Validate

func (m *Os) Validate() error

Validate checks the field values on Os with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Os) ValidateAll

func (m *Os) ValidateAll() error

ValidateAll checks the field values on Os with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OsMultiError, or nil if none found.

type OsMultiError

type OsMultiError []error

OsMultiError is an error wrapping multiple validation errors returned by Os.ValidateAll() if the designated constraints aren't met.

func (OsMultiError) AllErrors

func (m OsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OsMultiError) Error

func (m OsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OsValidationError

type OsValidationError struct {
	// contains filtered or unexported fields
}

OsValidationError is the validation error returned by Os.Validate if the designated constraints aren't met.

func (OsValidationError) Cause

func (e OsValidationError) Cause() error

Cause function returns cause value.

func (OsValidationError) Error

func (e OsValidationError) Error() string

Error satisfies the builtin error interface

func (OsValidationError) ErrorName

func (e OsValidationError) ErrorName() string

ErrorName returns error name.

func (OsValidationError) Field

func (e OsValidationError) Field() string

Field function returns field value.

func (OsValidationError) Key

func (e OsValidationError) Key() bool

Key function returns key value.

func (OsValidationError) Reason

func (e OsValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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