asserts

package
v0.0.0-...-00e2eb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderTypes

type OrderTypes int64

OrderTypes ...

const (
	// Withdrawal is 0
	// represents the cash withdrawal to consumer
	Withdrawal OrderTypes = iota
	// Buy is 1
	Buy
	// Spread is 2
	// represents the difference between buy (offer) and market price (bid)
	Spread
	// Fee is 3
	Fee
)

func (*OrderTypes) Scan

func (o *OrderTypes) Scan(value interface{}) error

Scan - Implement the database/sql scanner interface

func (OrderTypes) String

func (o OrderTypes) String() string

String ...

func (OrderTypes) Value

func (o OrderTypes) Value() (driver.Value, error)

Value - Implementation of valuer for database/sql

Jump to

Keyboard shortcuts

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