utils

package
v0.0.0-...-d503d0f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVER_PATH  = "http://localhost"
	PORT_LOWEST  = 41184
	PORT_HIGHEST = 41194
)

Variables

View Source
var (
	FOUND_PORT = 0
	AUTH_TOKEN = ""
	API_TOKEN  = ""
)

Functions

func AppendQueryStringToPath

func AppendQueryStringToPath(path, query string, value any) string

func AppendQueryStringsToPath

func AppendQueryStringsToPath(path string, queries map[string]any) string

func DeletePath

func DeletePath(path string) (string, error)

func FileFormPath

func FileFormPath(path, title, filepath string) (string, error)

func GetPath

func GetPath(path string) (string, error)

func PostPath

func PostPath(path, query string) (string, error)

func RegisterAuthToken

func RegisterAuthToken(token string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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