mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-02 22:17:10 +08:00

Moved main method to top-level 'cmd' directory. Extracted the dockerfile to the root as well. Signed-off-by: Dejan Mijic <dejan@mainflux.com>
10 lines
255 B
Go
10 lines
255 B
Go
package http
|
|
|
|
import "github.com/mainflux/mainflux/writer"
|
|
|
|
// Service specifies an API that must be fullfiled by the domain service
|
|
// implementation, and all of its decorators (e.g. logging & metrics).
|
|
type Service interface {
|
|
Send([]writer.Message)
|
|
}
|