libs5-go/interfaces/service.go

14 lines
255 B
Go
Raw Normal View History

package interfaces
2024-01-08 05:16:32 +00:00
//go:generate mockgen -source=service.go -destination=../mocks/interfaces/service.go -package=interfaces
type Service interface {
Node() Node
Start() error
Stop() error
Init() error
}
type Services interface {
P2P() P2PService
}