beget

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 0 Imported by: 0

README

Go Report Card Go Reference codecov

en

Go.beget.api

A simple library that implements the open API of the service baget.com to perform the functions of the control panel.

Install

To work with the library, you need the golang version: 1.19. The installation can be done using the command:

go get github.com/ThCompiler/go.beget.api
Functions supported by the Beget.API
  • Get information about your hosting account;
  • Manage backups;
  • Manage the task scheduler;
  • Configure DNS;
  • Manage databases;
  • Create and delete websites on your account;
  • Manage domain settings;
  • Manage mailboxes.

Detailed information about the API is provided on the Beget`s documentation site.

Documentation

The documentation provides a description of the library's functions. And the update_hostname repository provides an example of usage libraries for updating ip for hostname based on the current ip of the server.

P.S.

Questions and suggestions can be specified in the issue of this repository.

Documentation

Overview

Package beget implements the open API of the service Beget. Package contains:

If you find inaccuracies or errors in the documentation, please report it in the issue in the go.beget.api repository.

Directories

Path Synopsis
api
Package api implements API method-specific functionality.
Package api implements API method-specific functionality.
backup
Package backup implements the functionality of [Backup methods].
Package backup implements the functionality of [Backup methods].
dns
Package dns implements the functionality of [Dns methods].
Package dns implements the functionality of [Dns methods].
dns/build
Package build implements builders of github.com/ThCompiler/go.beget.api/api/dns.BasicRecords, github.com/ThCompiler/go.beget.api/api/dns.DNSRecords, github.com/ThCompiler/go.beget.api/api/dns.CNAMERecords and github.com/ThCompiler/go.beget.api/api/dns.NSRecords.
Package build implements builders of github.com/ThCompiler/go.beget.api/api/dns.BasicRecords, github.com/ThCompiler/go.beget.api/api/dns.DNSRecords, github.com/ThCompiler/go.beget.api/api/dns.CNAMERecords and github.com/ThCompiler/go.beget.api/api/dns.NSRecords.
dns/general
Package general implements structures with a generalized representation of the DNS server records supported by Beget.
Package general implements structures with a generalized representation of the DNS server records supported by Beget.
dns/record
Package record implements structures representing records from [getData] response.
Package record implements structures representing records from [getData] response.
result
Package result implements structures representing the result of API method responses.
Package result implements structures representing the result of API method responses.
test
Package test implements the functionality of test server emulating the work of a Beget server.
Package test implements the functionality of test server emulating the work of a Beget server.
user
Package user implements the functionality of [User methods].
Package user implements the functionality of [User methods].
Package core implements the basic functionality of requests to the Beget.API.
Package core implements the basic functionality of requests to the Beget.API.
internal
time
Package time specifies the standard time.Time for the Beget time format.
Package time specifies the standard time.Time for the Beget time format.
pkg
maps
Package maps implements some functionality of the standard maps package in go 1.21.
Package maps implements some functionality of the standard maps package in go 1.21.
slices
Package slices implements an extension of the standard slices package.
Package slices implements an extension of the standard slices package.
src command

Jump to

Keyboard shortcuts

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