client

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 6

README

OMS Client API

This is a sample of using the OMS API for log ingestion.

Note this is based on private preview version of the API and there may be changes before the API goes public. It is provided for demonstration purposes and should not be considered production quality

The required parameters to construct a client are:

  • Workspace ID
  • Workspace Key

You can get the Workspace ID and Key from the OMS portal.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	PostData(*[]byte, string) error
}

func NewOmsClient

func NewOmsClient(customerID string, sharedKey string, postTimeout time.Duration, logger lager.Logger) Client

New instance of the Client

Jump to

Keyboard shortcuts

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