Documentation ¶
Index ¶
Constants ¶
View Source
const ( X_REWRITE_DOMAIN = "X-REWRITE-DOMAIN" AUTHORIZATION = "Authorization" APPLICATION_JSON = "application/json" CONTENT_TYPE = "Content-Type" )
View Source
const SEND_INTERVAL = "10m"
Variables ¶
This section is empty.
Functions ¶
func GracefullyHandleError ¶
func GracefullyHandleError()
func StoreFiles ¶
func StoreFiles(content string)
Types ¶
type ApiManager ¶
type ApiManager struct {
// contains filtered or unexported fields
}
func NewApiManagerInstance ¶
func NewApiManagerInstance(url string, method string, apikey string, overrideServerHost string) *ApiManager
func (*ApiManager) ExecuteApiCall ¶
func (ap *ApiManager) ExecuteApiCall() (string, int)
type CollectionUsages ¶
type Metering ¶
type Metering struct {
// contains filtered or unexported fields
}
func GetMeteringInstance ¶
func GetMeteringInstance() *Metering
type UrlBuilder ¶
type UrlBuilder struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *UrlBuilder
func (*UrlBuilder) GetConfigUrl ¶
func (ub *UrlBuilder) GetConfigUrl() string
func (*UrlBuilder) GetMeteringUrl ¶
func (ub *UrlBuilder) GetMeteringUrl() string
func (*UrlBuilder) GetWebSocketUrl ¶
func (ub *UrlBuilder) GetWebSocketUrl() string
Click to show internal directories.
Click to hide internal directories.