blockchain

package
v0.0.0-...-14e6c00 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockchainServiceClientModule

func BlockchainServiceClientModule() inject.Module

Types

type BlockchainClient

type BlockchainClient struct {
	RawBlockchainClient blockchainproto.BlockchainClient
}

/ A wrapper type around blockchain client.

func (*BlockchainClient) Pay

func (self *BlockchainClient) Pay(
	ctx context.Context,
	userId int64,
) bool

/ Make payment using the blockchain service.

func (BlockchainClient) ProvideAutoInjectAnnotations

func (self BlockchainClient) ProvideAutoInjectAnnotations() interface{}

type BlockchainService

type BlockchainService struct{}

/ Annotation used by the AI service client module.

Jump to

Keyboard shortcuts

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