db

package
v0.0.0-...-e5b4757 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVendor

func AddVendor(mongoUri, image string, title string, description string, secret string, accType string, amount int64, txHash string)

func MongoCheck

func MongoCheck(TxHash string, mongoUri string) bool

Types

type Socials

type Socials struct {
	Twitter  string `json:"twitter"`
	Discord  string `json:"discord"`
	Telegram string `json:"telegram"`
	Github   string `json:"github"`
}

type Vendors

type Vendors struct {
	Image       string   `json:"image"`
	Title       string   `json:"title"`
	Description string   `json:"description"`
	Socials     Socials  `json:"socials"`
	Offers      []string `json:"offers"`
	Type        string   `json:"type"`
	Hash        string   `json:"hash"`
	Secret      string   `json:"secret"`
}

Jump to

Keyboard shortcuts

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