configuration_pkg

package
v0.0.0-...-bfb5fe6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

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

* The base Uri for API calls

Variables

This section is empty.

Functions

This section is empty.

Types

type CONFIGURATION

type CONFIGURATION interface {
	Key() string
	SetKey(key 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) Key

func (me *CONFIGURATION_IMPL) Key() string

* Getter function returning key

func (*CONFIGURATION_IMPL) SetKey

func (me *CONFIGURATION_IMPL) SetKey(key string)

* Setter function setting up key

Jump to

Keyboard shortcuts

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