app

package
v0.0.0-...-9ccc91e Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoMain

func DoMain()

func Run

func Run(filePath string)

Types

type AppConfig

type AppConfig struct {
	File       string
	TrayConfig *TrayConfig
	LeftMenu   []MenuItem
	RightMenu  []MenuItem
}

func (*AppConfig) GetDefaultConfig

func (this *AppConfig) GetDefaultConfig() *TrayConfig

GetDefaultConfig 获取默认配置

func (*AppConfig) Init

func (this *AppConfig) Init() error

Init

type TrayConfig

type TrayConfig struct {
	Name      string `json:"name"` //托盘名称
	Ico       string `json:"ico"`  //托盘显示图标
	LeftMenu  string `json:"lm"`   //左键菜单项
	RightMenu string `json:"rm"`   //右键菜单项
}

AppConfig

Jump to

Keyboard shortcuts

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