constants

package
v0.0.0-...-92bf813 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BASE_HEADERS map[string]string

Functions

func Add_Csrf

func Add_Csrf(jar *cookiejar.Jar) error

we shouldn't modify constants, but I gotta make it work

Types

type GPU

type GPU struct {
	Name string
}

type LAMBDA_LABS_API_URLS

type LAMBDA_LABS_API_URLS string
const (
	HOST_NAME          LAMBDA_LABS_API_URLS = "cloud.lambdalabs.com"
	BASE_URL           LAMBDA_LABS_API_URLS = "https://" + HOST_NAME
	SPA_INIT_INFO_URL  LAMBDA_LABS_API_URLS = BASE_URL + "/api/cloud/spa-init-info" // for email
	INSTANCE_TYPES_URL LAMBDA_LABS_API_URLS = BASE_URL + "/api/v1/instance-types"   // for getting currently available instances
)

Jump to

Keyboard shortcuts

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