model

package
v0.0.0-...-841437a Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name       string        `json:"name"`
	Data       interface{}   `json:"data"`
	Schema     domain.Schema `json:"-"`
	Dependents []string      `json:"-"`
}

func (Config) Copy

func (l Config) Copy() interface{}

type ConfigEvent

type ConfigEvent struct {
	EventType EventType
	Config    Config
}

type EventType

type EventType int
const (
	EventTypeUpdate EventType = iota
	EventTypeCreate
	EventTypeDelete
)

type GitChange

type GitChange struct {
	Filename  string
	EventType EventType
}

type Route

type Route struct {
	Method      string
	Path        string
	HandlerFunc echo.HandlerFunc
}

func NewRoute

func NewRoute(method string, path string, handler echo.HandlerFunc) Route

Jump to

Keyboard shortcuts

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