package
0.0.0-20241129185030-d88074a38c43
Repository: https://github.com/diegovillam/golang-sdk.git
Documentation: pkg.go.dev
# Functions
GetAuthURL function returns the URL for the user to authenticate and authorize*/.
Meli function returns a Client which can be used to call mercadolibre API.
*
This function allows you to be more specific on the config you prefer giving to the sdk Client.
# Constants
No description provided by the author
No description provided by the author
CBT.
Colombia.
Costa Rica.
Ecuador.
Argentina.
Brasil.
Chile.
Mexico.
Uruguay.
Venezuela.
Panama.
Peru.
Portugal.
Dominicana.
No description provided by the author
# Structs
No description provided by the author
This struct allows adding all the params needed to the URL to be sent
to the ML API
*/.
No description provided by the author
No description provided by the author
HTTP Methods to be called by httpErrorHandler
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*MeliTokenRefresher implements ToeknRefresher interface.
# Interfaces
*
HTTP Methods
Given that error handling for all the HTTP Methods is pretty the same, then an interface Callback is define, which is
going to be called by the handler to execute the different HTTP Methods, then check the response and handle the error
*/.
*
This interface allows you to change or mock the way Meli client make HTTP Requests.
*TokenRefresher is an interface which allows you to implement your own authentication/authorization mechanism.*/.