escalation

package
v0.0.1-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Escalation

type Escalation struct {
	model.Item
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Layers      []Layer `json:"layers,omitempty"`
}

func FromData

func FromData(d *data.Escalation) (*Escalation, error)

func FromDataSlice

func FromDataSlice(in []*data.Escalation) ([]*Escalation, error)

func (*Escalation) ToData

func (e *Escalation) ToData() (*data.Escalation, error)

type Layer

type Layer struct {
	Tier               uint   `json:"tier"`
	ResponderType      string `json:"responder_type"`
	ResponderReference string `json:"responder_reference"`
}

Jump to

Keyboard shortcuts

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