Skip to content

Tags: ThCompiler/go.beget.api

Tags

v0.1.1

Toggle v0.1.1's commit message
Change cover flags

v0.0.2

Toggle v0.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v0.0.2, Documentation

## 0.0.1

## Added

### Library

#### Core

* Added error types, formats and statuses (core/info section).
* The structure of the response description from the api service has been added.
* Added generalized execution of api requests and getting results.
* Added the `ApiMethod` interface describing the requirements for the api method.

#### Api

* Added a basic method describing the api request.
* Added methods for interacting with DNS: `getData`, `changeRecords`.
* Implemented a record creator for requesting dns record changes via the `changeRecords` method.

### Repository

* Added a description of the README in Russian and English.
* CI operation is configured.
* Added an example of using the library in another repository.

## 0.0.2

## Fixed

### Library

#### Core

* Fixed return ***nil*** error from method `Get` for `BegetResponse` and `Answer`.

### Repository

* Fixed the path to documentation in README.
* Fixed the path to get a package via the `go get` command in the README.

## Changed

### Library

#### Core

* Renamed methods `GetResult` and `MustGetResult` of `BegetResponse` to `GetAnswer` and `MustGetAnswer`.
* The package structure has been redesigned.

#### Api

* Made exportable `settableRecords` interface in the **api/dns** package.
* Changed type of **records** field in `CallChangeRecords` method to `SettableRecords` in the **api/dns** package.
* Deleted unnecessary `SetRecords`, `SetBasicRecords`, `SetNsRecords`, `SetCNameRecords` functions in the **api/dns** package.
* Deleted unnecessary `SettingRecords` type in the **api/dns** package.
* Renamed `NewARecordCreator` method in **api/dns/build** package to `NewARecords`.
* Renamed `NewAAAARecordCreator` method in **api/dns/build** package to `NewAAAARecords`.
* Renamed `NewMxRecordCreator` method in **api/dns/build** package to `NewMxRecords`.
* Renamed `NewTxtRecordCreator` method in **api/dns/build** package to `NewTxtRecords`.
* Renamed `NewNsRecordCreator` method in **api/dns/build** package to `NewNsRecords*.
* Renamed `NewCNameRecordCreator` method in **api/dns/build** package to `NewCNameRecords`.
* Renamed `NewDNSIPRecordCreator` method in **api/dns/build** package to `NewDNSIPRecords`.
* Renamed `NewDNSRecordCreator` method in **api/dns/build** package to `NewDNSRecords`.
* The embedding of the `DNSRecordsCreator` type in `BasicRecordsCreator`, `NsRecordsCreator`, `CNameRecordsCreator` 
  has been changed to store the **dnsRecords** field  
  with the `DNSRecordsCreator` type in the **api/dns/build** package.

## Added

### Library

#### Core

* Added golang documentation.

#### Api

* Added golang documentation.

v0.0.1

Toggle v0.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #1 from ThCompiler/dev/0.0.1/main

Version 0.0.1