model

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(path string) []byte
	Close() error
	Set(path string, value []byte) error
}

type CommonConfig

type CommonConfig struct {
	Hbase struct {
		Thrift  string
		Thrift2 string
	}
	Redis struct {
		Type       string
		MasterName string
		// A seed list of host:port addresses of cluster nodes.
		Addrs    []string
		Password string
	}

	Postgresql SQL

	Zookeeper struct {
		Hosts []string
	}
}

type SQL

type SQL struct {
	DBName string
	Read   []SQLBase
	Write  SQLBase
}

type SQLBase

type SQLBase struct {
	Host     string
	Password string
	Port     int
	User     string
}

Jump to

Keyboard shortcuts

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