config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

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
	Version bool
	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