config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfPath string
	Conf     *Config
)

Functions

func Init

func Init() (err error)

Init init config.

Types

type Client

type Client struct {
	AppId   string
	FromId  string
	Brokers []string
}

type Config

type Config struct {
	Client Client
	Msg    Msg
}

func Default

func Default() *Config

type Msg

type Msg struct {
	AppId       string
	DeviceType  int32
	Nickname    string
	TargetId    string
	DeviceToken string
}

Jump to

Keyboard shortcuts

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