package
Version:
v0.0.0-...-96111de
Opens a new window with list of versions in this module.
Published: Apr 18, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
hello
This example demonstrates how to use gokit
to create a go-kit micro-service.
service.go
defines methods & dto used in the service.
gokit service -interface=Service
to generate codes.
Documentation
¶
type ByeRequest struct {
Name string `json:"name"`
}
ByeRequest presents a request.
type ByeResponse struct {
Text string `json:"text"`
}
ByeResponse ...
type Request struct {
Name string `json:"name"`
}
Request presents a request.
type Response struct {
Text string `json:"text"`
}
Response ...
Service is a simple interface for a service.
Source Files
¶
Directories
¶
cmd
|
|
|
|
internal
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.