mycnf

package
v0.0.0-...-2833d4d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoCnf

func AutoCnf(cli *myssh.Cli, cfg *mycfg.Cfg)

AutoCnf 自动根据配置更改cnf文件

func EzGet

func EzGet(name, filetxt string)

EzGet 快速得到对应项目的值

func ReGet

func ReGet(compile, cfgfile string) (res, respro string)

ReGet 获取目标项

func ReGetAll

func ReGetAll(cfgfile string) (res [][]string)

ReGetAll 获取目标项

func ReGetMem

func ReGetMem(inf string) (res int)

ReGetMem 得到内存

func ReplaceCnf

func ReplaceCnf(cnfname, cnfoptionname, datatoreplace string) (newcnf string)

ReplaceCnf 对配置文件中的值进行修改

func StringRead

func StringRead(fileName string) string

StringRead 配置文件读取模块

Types

This section is empty.

Jump to

Keyboard shortcuts

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