vquery: github.com/groob/vquery/axiom Index | Files

package axiom

import "github.com/groob/vquery/axiom"


Package Files


type Client Uses

type Client struct {
    Username string
    Password string
    School   string
    // contains filtered or unexported fields

Client is a axiom http client

func NewClient Uses

func NewClient(username, password, school string, opts ...Option) (*Client, error)

NewClient returns a logged in Axiom Client

func (*Client) Report Uses

func (c *Client) Report(reportID int) (*http.Response, error)

Report returns the json data for a report ID

type Option Uses

type Option func(*Client)

func WithLogger Uses

func WithLogger(logger log.Logger) Option

Package axiom imports 8 packages (graph). Updated 2018-10-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).