configuration_pkg

package
v0.0.0-...-e5dbb2a Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const BASEURI string = "https://api.transmitsms.com"

* The base Uri for API calls

Variables

This section is empty.

Functions

This section is empty.

Types

type CONFIGURATION

type CONFIGURATION interface {
	Username() string
	SetUsername(username string)
	Password() string
	SetPassword(password string)
}

func NewCONFIGURATION

func NewCONFIGURATION() CONFIGURATION

* Factory for the CONFIGURATION interface returning CONFIGURATION_IMPL

type CONFIGURATION_IMPL

type CONFIGURATION_IMPL struct {
	// contains filtered or unexported fields
}

func (*CONFIGURATION_IMPL) Password

func (me *CONFIGURATION_IMPL) Password() string

* Getter function returning password

func (*CONFIGURATION_IMPL) SetPassword

func (me *CONFIGURATION_IMPL) SetPassword(password string)

* Setter function setting up password

func (*CONFIGURATION_IMPL) SetUsername

func (me *CONFIGURATION_IMPL) SetUsername(username string)

* Setter function setting up username

func (*CONFIGURATION_IMPL) Username

func (me *CONFIGURATION_IMPL) Username() string

* Getter function returning username

Jump to

Keyboard shortcuts

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