rdsmysql: github.com/shogo82148/rdsmysql/internal/config Index | Files

package config

import "github.com/shogo82148/rdsmysql/internal/config"


Package Files


func Generate Uses

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

Generate generates the configuration file for mysql.

type Config Uses

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

Config is the configuration for connecting to mysql servers.

func Parse Uses

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

Parse parses the args of mysql command.

Package config imports 12 packages (graph). Updated 2019-04-06. Refresh now. Tools for package owners.