lm-sdk-go

command module
v3.1.0-rc03 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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