rest

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cardinality

type Cardinality int
const (
	CardinalityOne  Cardinality = 1
	CardinalityMany Cardinality = 2
)

type Op

type Op int

Method designates the type of operations for BeforeCRUPD and AfterCRUPD hookpoints

const (
	OpOther Op = iota // should not be used
	OpRead
	OpCreate
	OpUpdate
	OpPatch
	OpDelete
)

func HTTPMethodToRESTOp

func HTTPMethodToRESTOp(method string) Op

Jump to

Keyboard shortcuts

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