Documentation
¶
Overview ¶
convert/convert.go
Index ¶
- func EventToProto(e *types.Event) (*pb.Event, error)
- func FromValue(v *pb.Value) interface{}
- func GroupToProto(g *types.GroupInfo) (*pb.Event, error)
- func IdentityToProto(i *types.Identity) (*pb.Event, error)
- func ToProperties(props map[string]interface{}) (map[string]*pb.Value, error)
- func ToValue(v interface{}) (*pb.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventToProto ¶
EventToProto converts a types.Event to a protobuf Event
func GroupToProto ¶
GroupToProto converts a types.GroupInfo to a protobuf Event
func IdentityToProto ¶
IdentityToProto converts a types.Identity to a protobuf Event
func ToProperties ¶
ToProperties converts a map of Go values to protobuf Values
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.