util

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeXMLBody

func DecodeXMLBody(bodyType types.BodyType, resp *http.Response, out interface{}) error

DecodeXMLBody is used to decode a response body of types.BodyType

Types

type AllocatedResourcesMap

type AllocatedResourcesMap struct {
	RWLock sync.RWMutex
	// contains filtered or unexported fields
}

func (*AllocatedResourcesMap) Get

func (*AllocatedResourcesMap) Insert

type Set

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

func NewSet

func NewSet(elementList []string) Set

func (Set) Add

func (s Set) Add(element string)

func (Set) Contains

func (s Set) Contains(element string) bool

func (Set) Delete

func (s Set) Delete(element string)

func (Set) GetElements

func (s Set) GetElements() []string

Jump to

Keyboard shortcuts

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