Documentation ¶
Index ¶
- Variables
- type CollectionService
- func (s *CollectionService) GetCollection(ctx context.Context, req *pb.GetCollectionRequest) (*pb.GetCollectionReply, error)
- func (s *CollectionService) GetInscriptionCollection(ctx context.Context, req *pb.GetInscriptionCollectionRequest) (*pb.GetCollectionReply, error)
- func (s *CollectionService) ListCollections(ctx context.Context, req *pb.ListCollectionRequest) (*pb.ListCollectionReply, error)
- type InscriptionService
- type TokenService
- func (s *TokenService) GetInscriptionToken(ctx context.Context, req *pb.GetInscriptionTokenRequest) (*pb.TokenReply, error)
- func (s *TokenService) GetToken(ctx context.Context, req *pb.GetTokenRequest) (*pb.TokenReply, error)
- func (s *TokenService) ListTokens(ctx context.Context, req *pb.ListTokenRequest) (*pb.ListTokenReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewTokenService, NewCollectionService, NewInscriptionService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CollectionService ¶
type CollectionService struct { pb.UnimplementedCollectionServer // contains filtered or unexported fields }
func NewCollectionService ¶
func NewCollectionService(p page.PageParser, collectionUsecase *biz.CollectionUsecase, logger log.Logger) *CollectionService
func (*CollectionService) GetCollection ¶
func (s *CollectionService) GetCollection(ctx context.Context, req *pb.GetCollectionRequest) (*pb.GetCollectionReply, error)
func (*CollectionService) GetInscriptionCollection ¶ added in v0.1.1
func (s *CollectionService) GetInscriptionCollection(ctx context.Context, req *pb.GetInscriptionCollectionRequest) (*pb.GetCollectionReply, error)
func (*CollectionService) ListCollections ¶
func (s *CollectionService) ListCollections(ctx context.Context, req *pb.ListCollectionRequest) (*pb.ListCollectionReply, error)
type InscriptionService ¶
type InscriptionService struct { pb.UnimplementedInscriptionServer // contains filtered or unexported fields }
func NewInscriptionService ¶
func NewInscriptionService(p page.PageParser, inscription *biz.InscriptionUsecase, logger log.Logger) *InscriptionService
func (*InscriptionService) GetInscription ¶
func (s *InscriptionService) GetInscription(ctx context.Context, req *pb.GetInscriptionRequest) (*pb.GetInscriptionReply, error)
func (*InscriptionService) ListInscription ¶
func (s *InscriptionService) ListInscription(ctx context.Context, req *pb.ListInscriptionRequest) (*pb.ListInscriptionReply, error)
type TokenService ¶
type TokenService struct { pb.UnimplementedTokenServer // contains filtered or unexported fields }
func NewTokenService ¶
func NewTokenService(p page.PageParser, tokenUsecase *biz.TokenUsecase, logger log.Logger) *TokenService
func (*TokenService) GetInscriptionToken ¶ added in v0.1.1
func (s *TokenService) GetInscriptionToken(ctx context.Context, req *pb.GetInscriptionTokenRequest) (*pb.TokenReply, error)
func (*TokenService) GetToken ¶
func (s *TokenService) GetToken(ctx context.Context, req *pb.GetTokenRequest) (*pb.TokenReply, error)
func (*TokenService) ListTokens ¶
func (s *TokenService) ListTokens(ctx context.Context, req *pb.ListTokenRequest) (*pb.ListTokenReply, error)
Click to show internal directories.
Click to hide internal directories.