httpfilehandler

package module
v0.0.0-...-5f34eba Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

func (*Factory) Metadata

func (*Factory) Metadata() *trigger.Metadata

Metadata implements trigger.Factory.Metadata

func (*Factory) New

func (*Factory) New(config *trigger.Config) (trigger.Trigger, error)

New implements trigger.Factory.New

type FileContentHandler

type FileContentHandler interface {
	HandleContent(handlerId int, filename string, filePath string)
}

type HTTPFileHandler

type HTTPFileHandler struct {
	// contains filtered or unexported fields
}

type HandlerSettings

type HandlerSettings struct {
	Path       string `md:"Path"`
	BaseFolder string `md:"BaseFolder"`
}

type Output

type Output struct {
	Filename string `md:"Filename"`
	FilePath string `md:"FilePath"`
}

func (*Output) FromMap

func (this *Output) FromMap(values map[string]interface{}) error

func (*Output) ToMap

func (this *Output) ToMap() map[string]interface{}

type Settings

type Settings struct {
	Port string `md:"Port"`
}

type Trigger

type Trigger struct {
	// contains filtered or unexported fields
}

func (*Trigger) HandleContent

func (this *Trigger) HandleContent(handlerId int, filename string, filePath string)

func (*Trigger) Initialize

func (this *Trigger) Initialize(ctx trigger.InitContext) error

Init implements trigger.Init

func (*Trigger) Start

func (this *Trigger) Start() error

Start implements ext.Trigger.Start

func (*Trigger) Stop

func (this *Trigger) Stop() error

Stop implements ext.Trigger.Stop

Jump to

Keyboard shortcuts

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