Documentation ¶
Index ¶
- Constants
- func BucketName(y string, id string) string
- func ConnectionNew()
- func Exists(b string, k string) bool
- func Get(b string, f string) []byte
- func GetLatestLeaders(b string) string
- func GetServerAddr() string
- func InitBuckets(buckets []string)
- func List(b string) <-chan minio.ObjectInfo
- func ParseDate(f string) string
- func Put(b string, k string, r []byte)
- func PutFile(b string, k string)
Constants ¶
View Source
const ( NBALAKE_HOST = "host" NBALAKE_PORT = "port" )
View Source
const ( NBALAKE = "nbalake" NBALAKE_AUTH_KEY = "key" NBALAKE_AUTH_SECRET = "secret" NBALAKE_CONF_DIR = "conf_dir" )
View Source
const ( NBALAKE_API_DEFAULT_HOST = "localhost" NBALAKE_API_DEFAULT_PORT = "9000" NBALAKE_SERVICE = "minio" )
View Source
const ( CONF_DEFAULT_DIR = "conf" CONF_DEFAULT_FILE = "config" CONF_DEFAULT_FILE_TYPE = "json" )
View Source
const ( BUCKET_RAW = "nba.raw" BUCKET_ANALYTICS = "nba.analytics" )
View Source
const ( PREFIX_LEADERS = "leaders" PREFIX_SEASON = "season" )
View Source
const ( STR_EMPTY = "" STR_PERIOD = "." )
View Source
const (
CONTENT_TYPE_JSON = "application/json"
)
View Source
const (
EXT_PARQUET = ".parquet"
)
View Source
const (
NBALAKE_DELIMITER = "."
)
Variables ¶
This section is empty.
Functions ¶
func BucketName ¶
func ConnectionNew ¶
func ConnectionNew()
func GetLatestLeaders ¶
func GetServerAddr ¶
func GetServerAddr() string
func InitBuckets ¶
func InitBuckets(buckets []string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.