Versions in this module Expand all Collapse all v1 v1.1.5 Dec 22, 2023 v1.0.0 Dec 22, 2023 Changes in this version + const EXPR + type Config struct + AccessKey string + BusinessName string + HttpEndpoint string + InstanceId string + RegionId string + SecretKey string + type EventConsumer struct + type EventProducer struct + type EventServer struct + func NewEventServer(config *Config, logger log.LoggerContextIface) (*EventServer, error) + func (h *EventServer) Publish(msg *Message) (string, error) + func (h *EventServer) Start() error + func (h *EventServer) Subscribe(toipc, tag, consumer string, handler interface{}) error + type EventServerIface interface + Subscribe func(toipc, tag, consumer string, handler interface{}) error + type Message struct + Body interface{} + Key string + Tag string + Topic string + type ProducerIface interface + Publish func(msg *Message) (string, error)