model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryRequest

type DiscoveryRequest struct {
	ServiceName string
}

DiscoveryRequest 服务发现请求结构体

type DiscoveryResponse

type DiscoveryResponse struct {
	Instances []interface{} `json:"instances"`
	Error     string        `json:"error"`
}

DiscoveryResponse 服务发现响应结构体

type HealthRequest

type HealthRequest struct{}

HealthRequest 健康检查请求结构

type HealthResponse

type HealthResponse struct {
	Status bool `json:"status"`
}

HealthResponse 健康检查响应结构

type SayHelloRequest

type SayHelloRequest struct {
}

SayHelloRequest 打招呼请求结构体

type SayHelloResponse

type SayHelloResponse struct {
	Message string `json:"message"`
}

SayHelloResponse 打招呼响应结构体

Jump to

Keyboard shortcuts

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