utils

package
v0.0.0-...-3c15377 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Axios = &axiosDef{}

Functions

This section is empty.

Types

type Promise

type Promise struct {
	// contains filtered or unexported fields
}

func NewPromise

func NewPromise(handler func(resolve, reject func(interface{}))) *Promise

func (*Promise) Catch

func (p *Promise) Catch(catch func(err *js.Object)) *Promise

func (*Promise) Finally

func (p *Promise) Finally(finally func())

func (*Promise) Then

func (p *Promise) Then(then func(data *js.Object)) *Promise

Jump to

Keyboard shortcuts

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