Documentation
¶
Index ¶
- Constants
- func GetBase(ctx context.Context) string
- func GetLogID(ctx context.Context) string
- func GetScope(ctx context.Context) map[string]any
- func ResetDefaultGroup(groups map[string]source.Group) source.Group
- func WithBase(ctx context.Context, base string) context.Context
- func WithLogID(ctx context.Context, logID string) context.Context
- func WithScope(ctx context.Context, scope map[string]any) context.Context
- type EmbedLoader
- type ILoader
- type JSONLoader
- type MongoLoader
- type MySQLLoader
- type SchemaTableName
Constants ¶
View Source
const ENTRY_JSON = "entry.json"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmbedLoader ¶
type EmbedLoader struct {
JSONLoader
// contains filtered or unexported fields
}
func (*EmbedLoader) Init ¶
func (self *EmbedLoader) Init() error
type JSONLoader ¶
type JSONLoader struct {
// contains filtered or unexported fields
}
func (*JSONLoader) Init ¶
func (self *JSONLoader) Init() error
type MongoLoader ¶
type MongoLoader struct {
// contains filtered or unexported fields
}
func (*MongoLoader) Init ¶
func (self *MongoLoader) Init() error
type MySQLLoader ¶
type MySQLLoader struct {
// contains filtered or unexported fields
}
func (*MySQLLoader) Init ¶
func (self *MySQLLoader) Init() error
Click to show internal directories.
Click to hide internal directories.