usp_itglue

package
v0.0.0-...-a979c26 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URL = map[string]string{
	"enterprise": "https://api.itglue.com",
}

Functions

This section is empty.

Types

type ITGlueAdapter

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

func NewITGlueAdapter

func NewITGlueAdapter(conf ITGlueConfig) (*ITGlueAdapter, chan struct{}, error)

func (*ITGlueAdapter) Close

func (a *ITGlueAdapter) Close() error

type ITGlueConfig

type ITGlueConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	Token         string                  `json:"token" yaml:"token"`
	Endpoint      string                  `json:"endpoint" yaml:"endpoint"`
}

func (*ITGlueConfig) Validate

func (c *ITGlueConfig) Validate() error

Jump to

Keyboard shortcuts

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