Documentation ¶
Index ¶
- func PrintMemUsage(label string)
- type ByRawEntityId
- type Metadata
- type RawEntityList
- func (r *RawEntityList) GetValues() *[]Value
- func (r *RawEntityList) GetValuesConfig() *[]interface{}
- func (r *RawEntityList) Len() int
- func (v RawEntityList) MarshalEasyJSON(w *jwriter.Writer)
- func (v RawEntityList) MarshalJSON() ([]byte, error)
- func (r *RawEntityList) Sort()
- func (v *RawEntityList) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *RawEntityList) UnmarshalJSON(data []byte) error
- type Relation
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintMemUsage ¶
func PrintMemUsage(label string)
Types ¶
type ByRawEntityId ¶
type ByRawEntityId []Value
ByRawEntityId implements sort.Interface for []RawEntity] based on the EntityId string field.
func (ByRawEntityId) Len ¶
func (a ByRawEntityId) Len() int
func (ByRawEntityId) Less ¶
func (a ByRawEntityId) Less(i, j int) bool
func (ByRawEntityId) Swap ¶
func (a ByRawEntityId) Swap(i, j int)
type Metadata ¶
func (Metadata) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Metadata) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Metadata) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Metadata) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type RawEntityList ¶
type RawEntityList struct {
Values *[]Value `json:"valueList"`
}
func UnmarshalEntities ¶
func UnmarshalEntities(entityPerType []config.Config, isHierarchy bool) (*RawEntityList, error)
func (*RawEntityList) GetValues ¶
func (r *RawEntityList) GetValues() *[]Value
func (*RawEntityList) GetValuesConfig ¶
func (r *RawEntityList) GetValuesConfig() *[]interface{}
func (*RawEntityList) Len ¶
func (r *RawEntityList) Len() int
func (RawEntityList) MarshalEasyJSON ¶
func (v RawEntityList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RawEntityList) MarshalJSON ¶
func (v RawEntityList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RawEntityList) Sort ¶
func (r *RawEntityList) Sort()
func (*RawEntityList) UnmarshalEasyJSON ¶
func (v *RawEntityList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RawEntityList) UnmarshalJSON ¶
func (v *RawEntityList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Relation ¶
type Relation struct {
Id string `json:"id,intern"`
}
func (Relation) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Relation) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Relation) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Relation) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Value ¶
type Value struct { EntityId string `json:"entityId,intern"` FirstSeenTms *float64 `json:"firstSeenTms"` DisplayName *string `json:"displayName,intern"` Properties *properties `json:"properties"` FromRelationship *fromRelationships `json:"fromRelationships"` }
func (Value) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Value) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Value) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Value) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface