lm-sdk-go

command module
v1.15.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 10

README

lm-sdk-go

GoDoc

Getting Started

package main

import (
    "fmt"
    "github.com/logicmonitor/lm-sdk-go/client"
    "github.com/logicmonitor/lm-sdk-go/client/lm"
)

func NewLMClient() *client.LMSdkGo {
    domain := "YOUR_COMPANY.logicmonitor.com"
    accessID := "YOUR_ACCESS_ID"
    accessKey := "YOUR_ACCESS_KEY"

    config := client.NewConfig()
    config.SetAccountDomain(&domain)
    config.SetAccessID(&accessID)
    config.SetAccessKey(&accessKey)

    return client.New(config)
}

func main() {
    client := NewLMClient()
}
License

license

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lm

Jump to

Keyboard shortcuts

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