zconfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Overview

*

  • @Author : nopsky
  • @Email : cnnopsky@gmail.com
  • @Date : 2021/3/18 14:37

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInt added in v1.0.1

func GetInt(key string) int

func GetInt32 added in v1.0.1

func GetInt32(key string) int32

func GetInt64 added in v1.0.1

func GetInt64(key string) int64

func GetString

func GetString(key string) string

func GetStringMap

func GetStringMap(key string) map[string]interface{}

func Load

func Load(path string) error

func LoadEncrypt added in v1.0.1

func LoadEncrypt(path string, secretKey string, iv string) error

func UnmarshalKey

func UnmarshalKey(key string, val interface{}) error

func WriteEncryptConfig added in v1.0.1

func WriteEncryptConfig(path string, secretKey string, iv string) error

Types

This section is empty.

Directories

Path Synopsis
env

Jump to

Keyboard shortcuts

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