conf

package
v0.3.6-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAuthHeaders

func AddAuthHeaders(key, value string) *http.Header

func GetAuthHeaders

func GetAuthHeaders() *http.Header

func GetClientPlatformEncoded

func GetClientPlatformEncoded() (string, error)

func SetAuthHeaders

func SetAuthHeaders(headers http.Header) *http.Header

Types

type ClientPlatform

type ClientPlatform struct {
	Type    string `json:"platformType"`
	OS      string `json:"platformOS"`
	Version string `json:"platformOSVersion"`
	Chipset string `json:"platformChipset"`
}

func GetClientPlatform

func GetClientPlatform() *ClientPlatform

func SetClientPlatform

func SetClientPlatform(platform ClientPlatform) *ClientPlatform

Jump to

Keyboard shortcuts

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