options

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package options provides the structure representing the instantiated client options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

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

Options contain necessary information for connecting to a KraftCloud service endpoint.

func (*Options) DefaultMetro

func (opts *Options) DefaultMetro() string

func (*Options) HTTPClient

func (opts *Options) HTTPClient() httpclient.HTTPClient

func (*Options) SetDefaultMetro

func (opts *Options) SetDefaultMetro(metro string)

func (*Options) SetHTTPClient

func (opts *Options) SetHTTPClient(httpClient httpclient.HTTPClient)

func (*Options) SetToken

func (opts *Options) SetToken(token string)

func (*Options) Token

func (opts *Options) Token() string

Jump to

Keyboard shortcuts

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