lock_way

package
v0.0.0-...-a5c2be1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Filename       string
	LastModifyTime int64
	Mt             sync.RWMutex
	MySQL          *MySQL
}

func NewConfig

func NewConfig(fname string) *Config

func (*Config) SetMySQL

func (c *Config) SetMySQL(m *MySQL)

type MySQL

type MySQL struct {
	Host string `json:"host"`
	DB   string `json:"db"`
	User string `json:"user"`
	Pass string `json:"pass"`
}

Jump to

Keyboard shortcuts

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