Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTransports ¶
func InitializeTransports ¶
func InitializeTransports()
func RegisterTransport ¶
func RegisterTransport(transport ITransport)
func StartTransports ¶
func StartTransports()
func UpdateTransportStatus ¶
func UpdateTransportStatus(ctx context.Context, t ITransport, m msg.Message, status string)
Types ¶
type ITransport ¶
type ITransport interface { GetName() string Start() SendMessage(ctx context.Context, config TransportConfig, message msg.Message) (err error) NewTransportConfig(ctx context.Context) }
func GetTransport ¶
func GetTransport(ctx context.Context, name string) (ITransport, error)
Click to show internal directories.
Click to hide internal directories.