Version: v1.1.13 Latest Latest

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 14 Imported by: 2




This section is empty.


View Source
var Module = fx.Provide(new)

Module is to provide dependency of Configuration to main app


This section is empty.


type AthenaDriverConfig

type AthenaDriverConfig struct {
	// OutputConfig is for the output section of the config
	OutputConfig ReaderOutputConfig
	// InputConfig is for the input section of the config
	InputConfig ReaderInputConfig
	// QueryString is the query string
	QueryString []string
	// DrvConfig is the datastructure of Driver Config
	DrvConfig *drv.Config

AthenaDriverConfig is Athena Driver Configuration

type Params

type Params struct {

	LC fx.Lifecycle

Params defines the dependencies or inputs

type ReaderInputConfig

type ReaderInputConfig struct {
	// Bucket is the output bucket
	Bucket string `yaml:"bucket"`
	// Region is AWS region
	Region string `yaml:"region"`
	// Database is the name of the DB
	Database string `yaml:"database"`
	// Admin is for write mode
	Admin bool `yaml:"admin"`

ReaderInputConfig is to represent the input section of configuration file

type ReaderOutputConfig

type ReaderOutputConfig struct {
	// Render is for the output format
	Render string `yaml:"render"`
	// Page is for the pagination
	Page int `yaml:"pagesize"`
	// Style is output style
	Style string `yaml:"style"`
	// Rowonly is for displaying header or not
	Rowonly bool `yaml:"rowonly"`
	// Moneywise is for displaying spending or not
	Moneywise bool `yaml:"moneywise"`
	// Fastfail is for multiple queries
	Fastfail bool `yaml:"fastfail"`

ReaderOutputConfig is to represent the output section of configuration file

type Result

type Result struct {

	// MyConfig is the current AthenaDriver Config
	MyConfig AthenaDriverConfig

Result defines output

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL