config

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DB_MONGO     = "mongodb"
	STORAGE_IPFS = "ipfs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseConfiguration

type DatabaseConfiguration struct {
	DbType      string
	MongoConfig MongoConfiguration
}

DatabaseConfiguration, any other implementations will be added here

type IpfsConfiguration added in v0.2.5

type IpfsConfiguration struct {
	ClusterApiAddr string
	IpfsApiAddr    string
	ClusterUser    string
	ClusterPass    string
}

type MongoConfiguration added in v0.2.5

type MongoConfiguration struct {
	Address string
	DbName  string
	DbUser  string
	DbPass  string
}

type StorageConfiguration

type StorageConfiguration struct {
	StorageType   string
	StorageConfig IpfsConfiguration
}

, any other implementations will be added here

Jump to

Keyboard shortcuts

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