conf

package
v0.0.0-...-86e4c60 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 1 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 {
	// contains filtered or unexported fields
}

func CreateConfig

func CreateConfig(url string) (*Config, error)

func (*Config) GetCacheInfo

func (c *Config) GetCacheInfo(expectKey string) string

func (*Config) GetConfigInfo

func (c *Config) GetConfigInfo(expectKey string) string

GetConfigInfo 根据key获取配置文件相关信息

func (*Config) GetHTTPInfo

func (c *Config) GetHTTPInfo(expectKey string) string

GetHTTPInfo 根据key获取配置文件相关信息

func (*Config) GetRecieveInfo

func (c *Config) GetRecieveInfo(expectKey string) string

GetRecieveInfo 从配置文件读取要写的数据库信息

Jump to

Keyboard shortcuts

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