mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
21 lines
374 B
Markdown
21 lines
374 B
Markdown
# Helloworld Service
|
|
|
|
This is the Helloworld service
|
|
|
|
## 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"}'
|
|
```
|