algoliautil

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2018 License: MIT Imports: 3 Imported by: 2

README

Algolia Util

Build Status Go Report Card Docs License

CLI and SDK utilities for Algolia.

Documentation

Index

Constants

View Source
const ENV_VAR_APP_CREDENTIALS_JSON = "ALGOLIA_APP_CREDENTIALS_JSON"

Variables

This section is empty.

Functions

func NewClientFromJSONAdmin

func NewClientFromJSONAdmin(jsonData []byte) (algoliasearch.Client, error)

func NewClientFromJSONSearchOrAdmin

func NewClientFromJSONSearchOrAdmin(jsonData []byte) (algoliasearch.Client, error)

Types

type Credentials

type Credentials struct {
	ApplicationId    string `json:"applicationId"`
	SearchOnlyApiKey string `json:"searchOnlyApiKey"`
	AdminApiKey      string `json:"adminApiKey"`
	AnalyticsApiKey  string `json:"analyticsApiKey"`
	MonitoringApiKey string `json:"monitoringApiKey"`
}

func NewCredentials

func NewCredentials(jsonData []byte) (Credentials, error)

Directories

Path Synopsis
apps

Jump to

Keyboard shortcuts

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