project

package
v0.10.25 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureOpts added in v0.10.16

type AzureOpts struct {
	Webhooks []string `json:"webhooks"`
}

type Config added in v0.10.16

type Config struct {
	server.Config
	AzureOpts AzureOpts `json:"azureOpts"`
}

Config represents azure server config

func (*Config) UnmarshalJSON added in v0.10.16

func (c *Config) UnmarshalJSON(data []byte) error

type Router

type Router struct {
	Vars *vars.Vars
}

Router handles tasks relating to an azure router function

func (*Router) FunctionURL

func (r *Router) FunctionURL() (*url.URL, error)

FunctionURL returns an url from which the base zip for azure router stucco function can be downloaded from

func (*Router) Zip

func (r *Router) Zip(extraFiles []utils.ZipData) (rc io.ReadCloser, err error)

Zip returns a router function as a zip reader

func (*Router) ZipFromReader

func (r *Router) ZipFromReader(src io.ReaderAt, size int64, extraFiles []utils.ZipData) (rc io.ReadCloser, err error)

ZipFromReader returns a reader with router zip

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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