models

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	GetRoutes() Routes
}

Controller Pattern of an rest/stream controller

type Env

type Env struct {
	UseSwagger                                   bool
	RadixComponentName                           string
	RadixDeploymentName                          string
	RadixDeploymentNamespace                     string
	RadixJobSchedulersPerEnvironmentHistoryLimit int
	RadixPort                                    string
	LogLevel                                     string
}

Env instance variables

func NewEnv

func NewEnv() *Env

NewEnv Constructor

type RadixHandlerFunc

type RadixHandlerFunc func(http.ResponseWriter, *http.Request)

RadixHandlerFunc Pattern for handler functions

type Route

type Route struct {
	Path        string
	Method      string
	HandlerFunc RadixHandlerFunc
}

Route Describe route

type Routes

type Routes []Route

Routes Holder of all routes

Directories

Path Synopsis
Package notifications is a generated GoMock package.
Package notifications is a generated GoMock package.
v1

Jump to

Keyboard shortcuts

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