Versions in this module Expand all Collapse all v0 v0.9.0 Oct 20, 2021retracted Changes in this version + const ContentTypeJSON + const ContentTypeProtobuf + type Marshaler interface + ContentType func() string + Marshal func(stats map[int32]*procutil.StatsWithPerm) ([]byte, error) + func GetMarshaler(accept string) Marshaler + type Unmarshaler interface + Unmarshal func([]byte) (*model.ProcStatsWithPermByPID, error) + func GetUnmarshaler(ctype string) Unmarshaler