accservice

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResponseValue

func GetResponseValue(resp *RequestResponse, path string) interface{}

GetResponseValue gets a value from an account service query using a dotted path notation.

func InitAccountsService

func InitAccountsService(conf *config.Configuration) error

InitAccountsService initializes the global accounts service.

Types

type RequestResponse

type RequestResponse struct {
	Success bool
	Error   string
	Data    interface{}
}

RequestResponse holds the response of an accounts service query.

func Query

func Query(endpoint string, params network.URLParams) (*RequestResponse, error)

Query performs an account service query.

Jump to

Keyboard shortcuts

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