infrastructure

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainClient

type BlockchainClient interface {
	ValidateRoot(network string, root string) (int64, error)
}

type HashingClient

type HashingClient interface {
	GenerateHash(data []byte) string
}

type HttpClient

type HttpClient interface {
	Get(url string, headers map[string]string) ([]byte, error)
	Post(url string, body interface{}, headers map[string]string) ([]byte, error)
}

Directories

Path Synopsis
mockblockchain
Package mockblockchain is a generated GoMock package.
Package mockblockchain is a generated GoMock package.
mockhttp
Package mockhttp is a generated GoMock package.
Package mockhttp is a generated GoMock package.

Jump to

Keyboard shortcuts

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