fees

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("fees")

Functions

This section is empty.

Types

type FeeOperations

type FeeOperations struct {
	HTTPClient       *http.Client
	GatewayOperation *kafka.KafkaOpreations
	// contains filtered or unexported fields
}

func CreateFeeOperations

func CreateFeeOperations() (FeeOperations, error)

func (FeeOperations) CalculateFees

func (fo FeeOperations) CalculateFees(w http.ResponseWriter, request *http.Request)

func (FeeOperations) GetMyFee

func (fo FeeOperations) GetMyFee(feesCallbackURL string, feesAndAmountRequest model.FeesRequest) (model.TransactionFees, error)

func (FeeOperations) RespondFees

func (fo FeeOperations) RespondFees(w http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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