webapi

package
v5.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts ...WebapiOption)

Run run webapi

Types

type Webapi

type Webapi struct {
	ConfigFile string
	Version    string
	Key        string
}

type WebapiOption

type WebapiOption func(*Webapi)

func SetConfigFile

func SetConfigFile(f string) WebapiOption

func SetKey added in v5.14.0

func SetKey(k string) WebapiOption

func SetVersion

func SetVersion(v string) WebapiOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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