All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
RouterCreate | Post /1.8/routers | |
RouterDelete | Delete /1.8/routers/{name} | |
RouterList | Get /1.3/routers | |
RouterUpdate | Put /1.8/routers/{name} |
RouterCreate(ctx, dynamicRouter)
Adds a new dynamic router
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
dynamicRouter | DynamicRouter |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RouterDelete(ctx, name)
Deletes a dynamic router
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | Dynamic router name. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PlanRouter RouterList(ctx, )
List available routers
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RouterUpdate(ctx, name, dynamicRouter)
Updates a dynamic router
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | Dynamic router name. | |
dynamicRouter | DynamicRouter |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]