config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.1.0"

Version is the version of rdsmysql command.

Variables

This section is empty.

Functions

func Generate

func Generate(session *session.Session, dir string, config *Config) error

Generate generates the configuration file for mysql.

Types

type Config

type Config struct {
	User string
	Host string
	Port int
	Args []string
}

Config is the configuration for connecting to mysql servers.

func Parse

func Parse(args []string) (*Config, error)

Parse parses the args of mysql command.

Jump to

Keyboard shortcuts

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