conf

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Conf config
	Conf = &Config{}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Log       *log.Config
	Ecode     *ecode.Config
	HTTP      *bm.ServerConfig
	RPC       *warden.ClientConfig
	Databus   *databus.Config
	Discovery *discovery.Config
	Routine   *Routine
	Room      *Room
}

Config .

func (*Config) Set

func (c *Config) Set(text string) error

Set set config and decode.

type Room

type Room struct {
	Refresh  xtime.Duration
	Idle     xtime.Duration
	Batch    int
	Signal   xtime.Duration
	Compress bool
}

Room room.

type Routine

type Routine struct {
	Size uint64
	Chan uint64
}

Routine routine.

Jump to

Keyboard shortcuts

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