Documentation ¶
Index ¶
- func GetTopics(deviceId string) []string
- func MakeAuditContext(a *pb.AuthorizationContext, correlationId string) pb.AuditContext
- func MakeEventMeta(connectionId string, sequence, version uint64) pb.EventMetadata
- func MakeResourceId(deviceID, href string) string
- func Marshal(v interface{}) ([]byte, error)
- func TimeNowMs() uint64
- func Unmarshal(b []byte, v interface{}) error
- type ProtobufMarshaler
- type ProtobufUnmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAuditContext ¶
func MakeAuditContext(a *pb.AuthorizationContext, correlationId string) pb.AuditContext
func MakeEventMeta ¶
func MakeEventMeta(connectionId string, sequence, version uint64) pb.EventMetadata
CreateEventMeta for creating EventMetadata for event.
func MakeResourceId ¶
Types ¶
type ProtobufMarshaler ¶
type ProtobufUnmarshaler ¶
Click to show internal directories.
Click to hide internal directories.