mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 22:45:09 +00:00
Update README.md
This commit is contained in:
@@ -1,20 +1,5 @@
|
|||||||
|
A simple hello world service
|
||||||
|
|
||||||
# Helloworld Service
|
# Helloworld Service
|
||||||
|
|
||||||
This is the Helloworld service
|
Helloworld simply returns a personalized message in response to a name.
|
||||||
|
|
||||||
## Overview
|
|
||||||
|
|
||||||
An example of how to write a simple helloworld service. This can also be generated using `micro new helloworld`.
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
```
|
|
||||||
# run the server
|
|
||||||
micro server
|
|
||||||
|
|
||||||
# run the service
|
|
||||||
micro run github.com/micro/services/helloworld
|
|
||||||
|
|
||||||
## call the service
|
|
||||||
micro call helloworld Helloworld.Call '{"name": "Alice"}'
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user