Skip to content

usmanager/registration-client-go

Repository files navigation

Registration-client-go

Cliente api que executa pedidos ao registration server (eureka) para registar esta instância ou obter servidores com o qual pode comunicar.
Para ser usado em microserviços implementados em golang.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to http://localhost:1906/api

Class Method HTTP request Description
EndpointsApi GetServiceEndpoint Get /services/{service}/endpoint Obtém o melhor endpoint para o serviço {service}
EndpointsApi GetServiceEndpoints Get /services/{service}/endpoints Obtém todos os endpoints registados em nome do serviço {service}
EndpointsApi RegisterEndpoint Post /register Regista o endpoint no servidor eureka

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author