Documentation
¶
Overview ¶
Package objects implements the STIX 2 object model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode - This function will take in a slice of bytes representing a random STIX object encoded as JSON, decode it to the appropriate STIX object struct, and return object itself, its STIX ID, and any possible errors.
func DecodeType ¶
DecodeType - This function will take in a slice of bytes representing a random STIX object encoded as JSON and return the STIX object type as a string.
Types ¶
type STIXObject ¶
type STIXObject interface {
}
Click to show internal directories.
Click to hide internal directories.