Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEvent

func IsEvent(m *eventsapi.Message, v interface{}) bool

    IsEvent returns true if the type of the message data is the same as v

    func MarshalEvent

    func MarshalEvent(v interface{}) (*ptypes.Any, error)

      MarshalEvent marshals and event for transport

      func PublishEvent

      func PublishEvent(c *client.Client, subject string, v interface{}) error

        PublishEvent publishes the event to the subject using the specified client

        func UnmarshalEvent

        func UnmarshalEvent(m *eventsapi.Message) (interface{}, error)

          UnmarshalEvent unmarshals an event from transport

          Types

          This section is empty.

          Source Files