utils

package
Version: v0.0.0-...-c804a74 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CandidBool

func CandidBool(value bool) string

CandidBool returns the given bool in serialized Candid IDL format

func CandidFloat64

func CandidFloat64(value float64) string

CandidFloat64 returns the given float64 in serialized Candid IDL format

func CandidInt

func CandidInt(value int) string

CandidInt returns the given int in serialized Candid IDL format

func CandidPrincipal

func CandidPrincipal(value string) string

CandidPrincipal returns the given principal string in serialized Candid IDL format

func CandidText

func CandidText(value string) string

CandidText returns the given string in serialized Candid IDL format

func GetAPIInfo

func GetAPIInfo(e models.Endpoint) (map[string]float64, error)

GetAPIInfo takes a given endpoint and parses the endpoint data Currently assumes all output is in map of floats format

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL