dataimport

package
v0.0.0-...-168184a Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseConfig

type CaseConfig struct {
	Format              string
	FilePath            string
	Separator           string
	StName              string
	SubTableName        string
	Timestamp           string
	TimestampType       string
	TimestampTypeFormat string
	Tags                []FieldInfo
	Fields              []FieldInfo
}

CaseConfig include the sample data config and tdengine config

type Config

type Config struct {
	UserCases map[string]CaseConfig
}

Config include all scene import config

func LoadConfig

func LoadConfig(filePath string) Config

LoadConfig will load the specified file config

type FieldInfo

type FieldInfo struct {
	Name string
	Type string
}

FieldInfo is field or tag info

Jump to

Keyboard shortcuts

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