conf

package
v1.10.13 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

type Db struct {
	Ip           string `yaml:"ip"`
	Name         string `yaml:"name"`
	User         string `yaml:"user"`
	Password     string `yaml:"password"`
	MaxIdleConns int    `yaml:"maxIdleConns"`
	MaxOpenConns int    `yaml:"maxOpenConns"`
}

type Etcd

type Etcd struct {
	Endpoints []string `yaml:"endpoints"`
}

type Http

type Http struct {
	Listen string `yaml:"listen"`
}

type Nats

type Nats struct {
	Endpoints string `yaml:"endpoints"`
}

type Raft

type Raft struct {
	Endpoints []string `yaml:"endpoints"`
}

type Redis

type Redis struct {
	OpenFlag bool   `yaml:"open"`
	Ip       string `yaml:"ip"`
	Password string `yaml:"password"`
}

type Server

type Server struct {
	Ip   string `yaml:"ip"`
	Port int    `yaml:"port"`
}

type SnowFlake

type SnowFlake struct {
	Endpoints []string `yaml:"endpoints"`
}

type Stub

type Stub struct {
	StubCount map[string]int64 `yaml:"stub_count"`
	MaxCount  int64            `yaml:"max_count"`
}

type StubRoute

type StubRoute struct {
	STUB rpc.STUB `yaml:"stub"`
}

Jump to

Keyboard shortcuts

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