service

package
v2.0.80 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP_NAME = "HelloService"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloRequest

type HelloRequest struct {
	MyName string `json:"my_name"`
}

type HelloResponse

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

type HelloService

type HelloService interface {
	Hello(request *HelloRequest, response *HelloResponse) error
}

type HelloServiceClient

type HelloServiceClient struct {
	// contains filtered or unexported fields
}

要封装原始的 不友好的rpc call

Jump to

Keyboard shortcuts

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