Documentation
¶
Index ¶
- Variables
- func AsyncFunc(f func(this js.Value, p []js.Value) (any, error)) js.Func
- func Await(promise js.Value) (val js.Value, err error)
- func ConvIntPtr[A, B constraints.Integer](a *A) *B
- func ConvertNonce(nonce []byte) (ret optional.Optional[uint32])
- func IdPtr[T any](value T) *T
- func JsArrayToSlice(jsSlice js.Value) []byte
- func MakeTimestamp(t time.Time) uint64
- func PrintStackTrace()
- func Promise() (promise js.Value, resolve func(args ...any), reject func(args ...any))
- func SliceToJsArray(slice []byte) js.Value
Constants ¶
This section is empty.
Variables ¶
View Source
var NDNdVersion string = "unknown"
NDNd version from source control Note: this is only defined in NDNd itself, not for other projects.
Functions ¶
func ConvIntPtr ¶
func ConvIntPtr[A, B constraints.Integer](a *A) *B
ConvIntPtr converts an integer pointer to another type
func JsArrayToSlice ¶ added in v1.5.0
func MakeTimestamp ¶
func PrintStackTrace ¶ added in v1.5.0
func PrintStackTrace()
func SliceToJsArray ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.