2024-01-07 08:13:35 +00:00
|
|
|
package interfaces
|
|
|
|
|
|
|
|
type Service interface {
|
2024-01-07 08:54:32 +00:00
|
|
|
Node() Node
|
2024-01-07 08:13:35 +00:00
|
|
|
Start() error
|
|
|
|
Stop() error
|
|
|
|
Init() error
|
|
|
|
}
|
|
|
|
type Services interface {
|
2024-01-07 08:54:32 +00:00
|
|
|
P2P() P2PService
|
2024-01-07 08:13:35 +00:00
|
|
|
}
|