msgsvc

command module
v0.0.0-...-38ed96f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

message format define

a common format:

{
  "id": "uuid",
  "type": "service type",
  "operation":"create/delete/update",
  "content": {
    "self_define": "self_define"
  }
}

apigw

service create example

{
  "id": "uuid",
  "type": "apigw",
  "operation":"create",
  "callback":"http://localhost:8000/callback",
  "content": {
    "callback":"status update callback url",
    "service": {
      "name": "test",
      "upstream_name": "test_upstream",
      "schema": "http",
      "endpoints": [
        "localhost:8000",
        "localhost:8001"
      ],
      "auth_type":"apikey"
    }
  }
}

Documentation

Overview

@Time : 2022/3/23 @Author : jzd @Project: msgsvc

Directories

Path Synopsis
@Time : 2022/3/23 @Author : jzd @Project: msgsvc
@Time : 2022/3/23 @Author : jzd @Project: msgsvc
@Time : 2022/3/23 @Author : jzd @Project: msgsvc
@Time : 2022/3/23 @Author : jzd @Project: msgsvc

Jump to

Keyboard shortcuts

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