mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-10 09:53:06 +00:00
18 lines
242 B
Go
18 lines
242 B
Go
package node
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/waku-org/go-waku/waku/v2/protocol"
|
|
)
|
|
|
|
type Service interface {
|
|
Start(ctx context.Context) error
|
|
Stop()
|
|
}
|
|
|
|
type ReceptorService interface {
|
|
Service
|
|
MessageChannel() chan *protocol.Envelope
|
|
}
|