mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-23 15:11:36 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -4,6 +4,12 @@ import (
|
||||
"go.m3o.com/client"
|
||||
)
|
||||
|
||||
type Event interface {
|
||||
Consume(*ConsumeRequest) (*ConsumeResponseStream, error)
|
||||
Publish(*PublishRequest) (*PublishResponse, error)
|
||||
Read(*ReadRequest) (*ReadResponse, error)
|
||||
}
|
||||
|
||||
func NewEventService(token string) *EventService {
|
||||
return &EventService{
|
||||
client: client.NewClient(&client.Options{
|
||||
|
||||
Reference in New Issue
Block a user