api

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LatestApiUrl string

Functions

func CallApi

func CallApi(arguments helper.Arguments) (string, error)

func CallApiByName added in v0.0.4

func CallApiByName(name string, verbose bool) (string, error)

func FetchJoke

func FetchJoke() (string, error)

func GetApiNames

func GetApiNames() []string

func GetApis

func GetApis()

Types

type Api

type Api struct {
	Name            string                 `json:"name"`
	Title           string                 `json:"title"`
	Url             string                 `json:"url"`
	Field           null.String            `json:"field"`
	QueryParameters map[string]interface{} `json:"queryParams"`
}

type Apis

type Apis struct {
	Apis []Api `json:"apis"`
}
var ListApis Apis

Jump to

Keyboard shortcuts

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