Documentation ¶
Overview ¶
Package http contains the domain concept definitions needed to support Mainflux http adapter service functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Publish accepts the raw SenML message and publishes it to the event bus // for post processing. Publish(writer.RawMessage) error }
Service specifies an API that must be fullfiled by the domain service implementation, and all of its decorators (e.g. logging & metrics).
func NewService ¶
func NewService(mr writer.MessageRepository) Service
NewService instantiates the domain service implementation.
Directories ¶
Path | Synopsis |
---|---|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
Package nats contains NATS-specific message repository implementation.
|
Package nats contains NATS-specific message repository implementation. |
Click to show internal directories.
Click to hide internal directories.