handler

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version12 = "1.2"
	Version20 = "2.0"

	DefaultVersion = Version20
)

supported versions

Variables

This section is empty.

Functions

This section is empty.

Types

type FCSHandler

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

func NewFCSHandler

func NewFCSHandler(
	serverInfo *cnf.ServerInfo,
	corporaConf *corpus.CorporaSetup,
	radapter *rdb.Adapter,
	projectRootDir string,
) *FCSHandler

func (*FCSHandler) FCSHandler

func (a *FCSHandler) FCSHandler(ctx *gin.Context)

type FCSSubHandler

type FCSSubHandler interface {
	Handle(
		ctx *gin.Context,
		fcsResponse general.FCSGeneralResponse,
		xslt map[string]string,
	)
}

type ViewHandler added in v0.0.9

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

func NewViewHandler added in v0.0.9

func NewViewHandler(fcsHandler *FCSHandler, assetsURLPath string) *ViewHandler

func (*ViewHandler) Handle added in v0.0.9

func (handler *ViewHandler) Handle(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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