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
Constants ¶
View Source
const ( Activation = "activation_v2alpha1" ActivationStream = "activation_stream_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
Click to show internal directories.
Click to hide internal directories.