entity

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 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 IPTopics

type IPTopics struct {
	Topics []string `json:"topics"`
}

type Instance

type Instance struct {
	ServiceName string
	IPPort      string
	Weight      int
	CreateTime  string
	UpdateTime  string
}

type Topic

type Topic struct {
	Business  string `json:"business"`
	TopicName string `json:"topic_name"`
	WorkerNum int    `json:"worker_num"`
}

type TopicZkInfo

type TopicZkInfo struct {
	Business   string   `json:"business"`
	TopicName  string   `json:"topic_name"`
	WorkerNum  int      `json:"worker_num"`
	Workers    []string `json:"workers"`
	CreateTime string   `json:"create_time,omitempty"`
}

Jump to

Keyboard shortcuts

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