version

package
v62.0.0-...-eaec136 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "Version"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionAPI

type VersionAPI interface {
	VersionCommand() (output *models.VersionDocClass, resp *http.Response, err error)
}

type VersionService

type VersionService struct {
	*client.Client
}

VersionService provides the API operations for making requests to Version endpoint.

func New

func New(cfg *config.Config) *VersionService

New createa a new instance of the VersionService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL)

//Create a VersionService from the configuration
svc := version.New(cfg)

func (*VersionService) VersionCommand

func (s *VersionService) VersionCommand() (output *models.VersionDocClass, resp *http.Response, err error)

VersionCommand - Get the PingAccess version number RequestType: GET Input:

Jump to

Keyboard shortcuts

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