config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by baton-sdk. DO NOT EDIT!!!

Index

Constants

This section is empty.

Variables

View Source
var Config = field.NewConfiguration(
	[]field.SchemaField{
		apiUrlField,
		apiKeyField,
	},
	field.WithConnectorDisplayName("Zuper"),
	field.WithHelpUrl("/docs/baton/zuper"),
	field.WithIconUrl("/static/app-icons/zuper.svg"),
)

Functions

This section is empty.

Types

type Zuper

type Zuper struct {
	ApiUrl string `mapstructure:"api-url"`
	ApiKey string `mapstructure:"api-key"`
}

func (*Zuper) GetBool

func (c *Zuper) GetBool(fieldName string) bool

func (*Zuper) GetInt

func (c *Zuper) GetInt(fieldName string) int

func (*Zuper) GetString

func (c *Zuper) GetString(fieldName string) string

func (*Zuper) GetStringMap

func (c *Zuper) GetStringMap(fieldName string) map[string]any

func (*Zuper) GetStringSlice

func (c *Zuper) GetStringSlice(fieldName string) []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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