mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
20 lines
349 B
Go
20 lines
349 B
Go
|
package incentivisation
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
// PublicAPI represents a set of APIs from the `web3.peer` namespace.
|
||
|
type PublicAPI struct {
|
||
|
s *Service
|
||
|
}
|
||
|
|
||
|
// NewAPI creates an instance of the peer API.
|
||
|
func NewAPI(s *Service) *PublicAPI {
|
||
|
return &PublicAPI{s: s}
|
||
|
}
|
||
|
|
||
|
func (api *PublicAPI) Registered(context context.Context) error {
|
||
|
return nil
|
||
|
}
|