endpoint

package
v0.0.0-...-31e44ea Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserEndPoint

func GetUserEndPoint(userService service.IUserService) endpoint.Endpoint

GetUserEndPoint GetUser方法的端点 @param userService service.IUserService接口的实现类 @return endpoint.Endpoint 返回kit的一个端点

Types

type UserRequest

type UserRequest struct {
	Uid int `json:"uid"`
}

用户的请求和响应

type UserResponse

type UserResponse struct {
	Result string `json:"result"`
}

Jump to

Keyboard shortcuts

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