Send Request and Publication types
This commit is contained in:
@@ -31,6 +31,21 @@ type Server interface {
|
||||
Stop() error
|
||||
}
|
||||
|
||||
|
||||
type Publication interface {
|
||||
Topic() string
|
||||
Message() interface{}
|
||||
ContentType() string
|
||||
}
|
||||
|
||||
type Request interface {
|
||||
Service() string
|
||||
Method() string
|
||||
ContentType() string
|
||||
Request() interface{}
|
||||
Stream() bool
|
||||
}
|
||||
|
||||
type Option func(*options)
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user