Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnsResolver ¶
type EnsResolver interface { GetByNames(names []string) ([]ensresolver.EnsName, error) GetByAddresses(addresses []string) ([]ensresolver.EnsName, error) AddRequests(list []string) }
type GetDelegatesRequest ¶
type GetDelegatesResponse ¶
type ProfileDelegateItem ¶
type Server ¶
type Server struct { storagepb.UnimplementedDelegateServer // contains filtered or unexported fields }
func (*Server) GetDelegateProfile ¶
func (s *Server) GetDelegateProfile(ctx context.Context, req *storagepb.GetDelegateProfileRequest) (*storagepb.GetDelegateProfileResponse, error)
func (*Server) GetDelegates ¶
func (s *Server) GetDelegates(ctx context.Context, req *storagepb.GetDelegatesRequest) (*storagepb.GetDelegatesResponse, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(dc delegatepb.DelegateClient, daoProvider DaoProvider, ensResolver EnsResolver) *Service
func (*Service) GetDelegateProfile ¶
func (s *Service) GetDelegateProfile(ctx context.Context, request GetDelegateProfileRequest) (GetDelegateProfileResponse, error)
func (*Service) GetDelegates ¶
func (s *Service) GetDelegates(ctx context.Context, request GetDelegatesRequest) (*GetDelegatesResponse, error)
Click to show internal directories.
Click to hide internal directories.