service

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 10 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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 (*CollectionService) GetInscriptionCollection added in v0.1.1

func (*CollectionService) ListCollections

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 (*InscriptionService) ListInscription

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL