adapter

package
v0.0.0-...-e06075d Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainAdapter

type BlockchainAdapter interface {
	CreateAccount(*CreateAccountReq) (*BlockchainResponse, error)
	PublicityData(*PublicityDataReq) (*BlockchainResponse, error)
}

BlockchainAdapter adapter of blockchain

type BlockchainResponse

type BlockchainResponse struct {
	ID string `json:"id"`
}

BlockchainResponse response of blockchain

type CreateAccountReq

type CreateAccountReq struct {
	AccountID string
}

CreateAccountReq request of create account

type PublicityDataReq

type PublicityDataReq struct {
	AccountID string
	Publicity string
}

PublicityDataReq request of publicity data

Directories

Path Synopsis
arxanchain
api
Package mock_adapter is a generated GoMock package.
Package mock_adapter is a generated GoMock package.

Jump to

Keyboard shortcuts

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