cfg

package
v0.0.0-...-7fcd714 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Unlicense Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCFG

func NewCFG(path string, options *Options) (*cfgdb, error)

New creates a new scribble database at the desired directory location, and returns a *Driver to then use for interacting with the database

Types

type CloudFlare

type CloudFlare struct {
	CloudFlareAPI, CloudFlareEmail, CloudFlareAPIkey, CloudFlareAPItoken string
}

type Config

type Config struct {
	Strapi  string
	COMHTTP []string
	Port    map[string]string
	Path    string
	Out     string
	RPC     RPClogin
	CF      CloudFlare
	ApiKeys map[string]string
}

Conf is the configuration for accessing bitnodes endpoint

type JDBservers

type JDBservers map[string]string

Conf is the configuration for accessing bitnodes endpoint

type Logger

type Logger interface {
	Fatal(string, ...interface{})
	Error(string, ...interface{})
	Warn(string, ...interface{})
	Info(string, ...interface{})
	Debug(string, ...interface{})
	Trace(string, ...interface{})
}

Logger is a generic logger interface

type Options

type Options struct {
	Logger // the logger scribble will use (configurable)
}

Options uses for specification of working golang-scribble

type RPClogin

type RPClogin struct {
	Username, Password string
}

Jump to

Keyboard shortcuts

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