services

package
v0.0.0-...-d9430aa Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonRequest

type CommonRequest interface {
	GetConsumerToken() string
}

type ILawRpcServices

type ILawRpcServices interface {
	GetGiantWhaleWalletAddressLaw(ctx context.Context, req *protobuf.GiantWhaleWalletAddressLawReq) (*protobuf.GiantWhaleWalletAddressLawRep, error)
	GetNftCollectionsLaw(ctx context.Context, req *protobuf.NftCollectionsLawReq) (*protobuf.NftCollectionsLawRep, error)
	GetSingleNftLaw(ctx context.Context, req *protobuf.SingleNftLawReq) (*protobuf.SingleNftLawRep, error)
}

type LawRPCConfig

type LawRPCConfig struct {
	RpcHost string
	RpcPort string
	FeLaw   *law.FeLaw
}

type LawRPCServices

type LawRPCServices struct {
	Ctx context.Context
	Cfg *LawRPCConfig

	ILawRpcServices
	// contains filtered or unexported fields
}

func NewLawRPCServices

func NewLawRPCServices(ctx context.Context, cfg *LawRPCConfig) (*LawRPCServices, error)

func (*LawRPCServices) GetNftCollectionsLaw

func (*LawRPCServices) GetSingleNftLaw

func (*LawRPCServices) Start

func (rpc *LawRPCServices) Start() error

func (*LawRPCServices) Stop

func (rpc *LawRPCServices) Stop()

Jump to

Keyboard shortcuts

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