growingio

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 13 Imported by: 0

README

growingio-go-api

growingIO服务的api接口的go实现

Documentation

Index

Constants

View Source
const (
	EXPORT_BY_TYPE_URL  = "https://www.growingio.com/v2/insights/%s/%s/%s/%s.json?expire=%s"
	EXPORT_ALL_TYPE_URL = "https://www.growingio.com/v2/insights/%s/%s/%s.json?expire=%s"
)
View Source
const (
	REQUEST_URL = "https://www.growingio.com/auth/token"
)

Variables

This section is empty.

Functions

func DataAllType

func DataAllType(config Config, exportType, exportDate, expireTime string) (map[string][]string, error)

func Token

func Token(config Config) (string, error)

Types

type Config

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

func NewConfig

func NewConfig(ai, project, public, secretKey, expire string) Config

Jump to

Keyboard shortcuts

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