param

package
v0.0.0-...-16a22ac Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Http    *http.Client
	Workers map[string]*Worker
}

func NewClient

func NewClient() *Client

type Core

type Core struct {
	Label string
}

func NewCore

func NewCore() *Core

type Worker

type Worker struct {
	Label    string `json:"label,omitempty" validate:"required"`
	Endpoint string `json:"endpoint,omitempty" validate:"required,url"`
	App      string `json:"app,omitempty" validate:"required"`
	Password string `json:"password,omitempty" validate:"required"`
}

func NewWorker

func NewWorker(endpoint string, app string) *Worker

func (*Worker) Url

func (w *Worker) Url(path string) string

Jump to

Keyboard shortcuts

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