global

package
v0.0.0-...-cb0c101 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTopicListLimit = 50
	TopicOpenUrlMax       = 10
)

Variables

View Source
var (
	AppName      = "helper-github"
	Debug        bool
	Initializing bool
	BoltStore    *boltkv.BoltStore
	BoltCache    *boltkv_cache.CacheStore
)
View Source
var (
	MyHome *myhome.MyHome
)

Functions

func CloseBolt

func CloseBolt()

func GetHome

func GetHome() string

func InitConfig

func InitConfig(config *AppConfig)

Types

type AppConfig

type AppConfig struct {
	Home            string
	User            string
	Token           string
	CacheDuration   int
	TopicListLimit  int
	TopicOpenUrlMax int
}
var Config *AppConfig

Jump to

Keyboard shortcuts

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