Documentation ¶
Index ¶
- Constants
- type ActivationService
- func (s *ActivationService) ActivationsCount(ctx context.Context, request *spacemeshv2alpha1.ActivationsCountRequest) (*spacemeshv2alpha1.ActivationsCountResponse, error)
- func (s *ActivationService) List(ctx context.Context, request *spacemeshv2alpha1.ActivationRequest) (*spacemeshv2alpha1.ActivationList, error)
- func (s *ActivationService) RegisterHandlerService(mux *runtime.ServeMux) error
- func (s *ActivationService) RegisterService(server *grpc.Server)
- func (s *ActivationService) String() string
- type ActivationStreamService
- func (s *ActivationStreamService) RegisterHandlerService(mux *runtime.ServeMux) error
- func (s *ActivationStreamService) RegisterService(server *grpc.Server)
- func (s *ActivationStreamService) Stream(request *spacemeshv2alpha1.ActivationStreamRequest, ...) error
- func (s *ActivationStreamService) String() string
- type NetworkService
- func (s *NetworkService) Info(context.Context, *spacemeshv2alpha1.NetworkInfoRequest) (*spacemeshv2alpha1.NetworkInfoResponse, error)
- func (s *NetworkService) RegisterHandlerService(mux *runtime.ServeMux) error
- func (s *NetworkService) RegisterService(server *grpc.Server)
- func (s *NetworkService) String() string
- type RewardService
- func (s *RewardService) List(ctx context.Context, request *spacemeshv2alpha1.RewardRequest) (*spacemeshv2alpha1.RewardList, error)
- func (s *RewardService) RegisterHandlerService(mux *runtime.ServeMux) error
- func (s *RewardService) RegisterService(server *grpc.Server)
- func (s *RewardService) String() string
- type RewardStreamService
Constants ¶
View Source
const ( Activation = "activation_v2alpha1" ActivationStream = "activation_stream_v2alpha1" )
View Source
const ( Reward = "reward_v2alpha1" RewardStream = "reward_stream_v2alpha1" )
View Source
const (
Network = "network_v2alpha1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationService ¶
type ActivationService struct {
// contains filtered or unexported fields
}
func NewActivationService ¶
func NewActivationService(db sql.Executor) *ActivationService
func (*ActivationService) ActivationsCount ¶
func (s *ActivationService) ActivationsCount( ctx context.Context, request *spacemeshv2alpha1.ActivationsCountRequest, ) (*spacemeshv2alpha1.ActivationsCountResponse, error)
func (*ActivationService) List ¶
func (s *ActivationService) List( ctx context.Context, request *spacemeshv2alpha1.ActivationRequest, ) (*spacemeshv2alpha1.ActivationList, error)
func (*ActivationService) RegisterHandlerService ¶
func (s *ActivationService) RegisterHandlerService(mux *runtime.ServeMux) error
func (*ActivationService) RegisterService ¶
func (s *ActivationService) RegisterService(server *grpc.Server)
func (*ActivationService) String ¶
func (s *ActivationService) String() string
String returns the service name.
type ActivationStreamService ¶
type ActivationStreamService struct {
// contains filtered or unexported fields
}
func NewActivationStreamService ¶
func NewActivationStreamService(db sql.Executor) *ActivationStreamService
func (*ActivationStreamService) RegisterHandlerService ¶
func (s *ActivationStreamService) RegisterHandlerService(mux *runtime.ServeMux) error
func (*ActivationStreamService) RegisterService ¶
func (s *ActivationStreamService) RegisterService(server *grpc.Server)
func (*ActivationStreamService) Stream ¶
func (s *ActivationStreamService) Stream( request *spacemeshv2alpha1.ActivationStreamRequest, stream spacemeshv2alpha1.ActivationStreamService_StreamServer, ) error
func (*ActivationStreamService) String ¶
func (s *ActivationStreamService) String() string
type NetworkService ¶ added in v1.4.3
type NetworkService struct {
// contains filtered or unexported fields
}
func NewNetworkService ¶ added in v1.4.3
func (*NetworkService) Info ¶ added in v1.4.3
func (s *NetworkService) Info(context.Context, *spacemeshv2alpha1.NetworkInfoRequest, ) (*spacemeshv2alpha1.NetworkInfoResponse, error)
func (*NetworkService) RegisterHandlerService ¶ added in v1.4.3
func (s *NetworkService) RegisterHandlerService(mux *runtime.ServeMux) error
func (*NetworkService) RegisterService ¶ added in v1.4.3
func (s *NetworkService) RegisterService(server *grpc.Server)
func (*NetworkService) String ¶ added in v1.4.3
func (s *NetworkService) String() string
String returns the service name.
type RewardService ¶
type RewardService struct {
// contains filtered or unexported fields
}
func NewRewardService ¶
func NewRewardService(db sql.Executor) *RewardService
func (*RewardService) List ¶
func (s *RewardService) List( ctx context.Context, request *spacemeshv2alpha1.RewardRequest, ) (*spacemeshv2alpha1.RewardList, error)
func (*RewardService) RegisterHandlerService ¶
func (s *RewardService) RegisterHandlerService(mux *runtime.ServeMux) error
func (*RewardService) RegisterService ¶
func (s *RewardService) RegisterService(server *grpc.Server)
func (*RewardService) String ¶
func (s *RewardService) String() string
String returns the service name.
type RewardStreamService ¶
type RewardStreamService struct {
// contains filtered or unexported fields
}
func NewRewardStreamService ¶
func NewRewardStreamService(db sql.Executor) *RewardStreamService
func (*RewardStreamService) RegisterHandlerService ¶
func (s *RewardStreamService) RegisterHandlerService(mux *runtime.ServeMux) error
func (*RewardStreamService) RegisterService ¶
func (s *RewardStreamService) RegisterService(server *grpc.Server)
func (*RewardStreamService) Stream ¶
func (s *RewardStreamService) Stream( request *spacemeshv2alpha1.RewardStreamRequest, stream spacemeshv2alpha1.RewardStreamService_StreamServer, ) error
func (*RewardStreamService) String ¶
func (s *RewardStreamService) String() string
Click to show internal directories.
Click to hide internal directories.