helpers

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUpperCase

func CheckUpperCase(input string) (msg string, status bool)

Performs a regex check to validate if the input is upper case only with numbers

func CheckUpperCaseResource

func CheckUpperCaseResource(input string) (msg string, status bool)

Performs a regex check to validate if the resourceID is upper case only with numbers

func CreateKey

func CreateKey() (ed25519.PublicKey, ed25519.PrivateKey)

func create Keys : ed25519 public and private keys

func ReadEndPointDiscovery

func ReadEndPointDiscovery() (value string, ok bool)

Read API End Point Discovery from Environment

func ReadEndPointGeneral

func ReadEndPointGeneral() (value string, ok bool)

Read API End Point Others in General from Environment

func ReadJoinCode

func ReadJoinCode() (value string, ok bool)

Read Join Code from Environment

func ReadScheme

func ReadScheme() (value string, ok bool)

Read Scheme from Environment

func ReadUserId

func ReadUserId() (value string, ok bool)

Read User Id from Environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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