info

package
v0.1.24783 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoClient

type InfoClient interface {
	GetInfo() (*[]Organization, error)
}

InfoClient An interface with all the Info Functions.

func NewInfoClient

func NewInfoClient(config settings.Config) (InfoClient, error)

Creates a new client to talk with the rest info endpoints.

type InfoRESTClient

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

InfoRESTClient A restful implementation of the InfoClient

func (*InfoRESTClient) GetInfo

func (c *InfoRESTClient) GetInfo() (*[]Organization, error)

GetInfo

type Organization

type Organization struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

organization json org info

Jump to

Keyboard shortcuts

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