database

package
v0.0.0-...-d6adbaf Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelEtcdKV

func DelEtcdKV(key string) int64

删除etcd数据

func GetEtcdPrefix

func GetEtcdPrefix() (value string, err error)

获取etcd中的数据列表

func GetEtcdkey

func GetEtcdkey(key string) (value string, err error)

func PutEtcdKV

func PutEtcdKV(key string, value string) bool

上传etcd数据

func ReversingDomain

func ReversingDomain(src string) (str string)

字符串反转处理,将域名反转为etcd的key值

func ReversingKey

func ReversingKey(src string) (str string)

字符串反转处理,将etcd的key值反转为域名

func Test

func Test() (e string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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