titansSdk

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(keyword string) (res string, err error)

Get 获取配置接口

func Init

func Init(titansConfig *Config)

Init 业务初始化sdk接口

Types

type Config

type Config struct {
	// 服务的tree_id
	TreeId int64
	// 缓存的更新间隔,单位为s,不配置则为5s
	Expire int64
}

Config 服务可配置项

Jump to

Keyboard shortcuts

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