mailservice

package
v6.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Information

type Information struct {
	// x-transip-mail-auth DNS TXT record Value
	DNSTxt string `json:"dnsTxt,omitempty"`
	// The password of the mail service
	Password string `json:"password,omitempty"`
	// The quota of the mail service
	Quota float32 `json:"quota,omitempty"`
	// The usage of the mail service
	Usage float32 `json:"usage,omitempty"`
	// The username of the mail service
	Username string `json:"username,omitempty"`
}

Information struct containing all of the mailservice information returned by the transip api

type Repository

type Repository repository.RestRepository

Repository allows you to retrieve information about your mail-service account, regenerate a new password, or add dns entries to a domain address you own

func (*Repository) AddDNSEntriesDomains

func (r *Repository) AddDNSEntriesDomains(domainNames []string) error

AddDNSEntriesDomains allows you to add default DNS records to you domains. In order to reduce spam score, several DNS records should be added to your domains

func (*Repository) GetInformation

func (r *Repository) GetInformation() (Information, error)

GetInformation allows you to gather detailed information regarding mail service usage and credentials

func (*Repository) RegeneratePassword

func (r *Repository) RegeneratePassword() error

RegeneratePassword allows you to regenerate your transip mail service password

Jump to

Keyboard shortcuts

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