model

package
v0.0.0-...-3d3caa2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulConfig

type ConsulConfig struct {
	IP    string `yaml:"ip"`
	Port  uint16 `yaml:"port"`
	Token string `yaml:"token"`
}

type Dog

type Dog struct {
	Name string
	Kind string
	Age  int
}

type MongoConfig

type MongoConfig struct {
	Ip   string
	Port int
	Name string
	User string
	Pwd  string
}

type MysqlConfig

type MysqlConfig struct {
	Ip   string
	Port int
	Name string
	User string
	Pwd  string
}

type RedisConfig

type RedisConfig struct {
	Ip    string
	Port  int
	Pwd   string
	DbNum int
}

type Service

type Service struct {
	Name       string
	Address    string
	Port       uint16
	Protocol   string
	ServerId   uint32
	InstanceId uint32
}

Service 外部用

Jump to

Keyboard shortcuts

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