frameworks

package
v1.2.2-0...-301a9f9 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRESTAllowedMethods

func AddRESTAllowedMethods(restResourceData *RestResourceData, restAllowedMethods []*string)

func GetMicroServiceName

func GetMicroServiceName(name string) string

Types

type RestResourceData

type RestResourceData struct {
	SmallKebabCaseResourceNameSingular string
	SmallSnakeCaseResourceNameSingular string
	SmallResourceNameSingular          string
	SmallResourceNamePlural            string
	CapsResourceNameSingular           string
	CapsResourceNamePlural             string
	ResourcePostBody                   string
	ResourcePutBody                    string
	IsRESTCreateAllowed                bool
	IsRESTListAllowed                  bool
	IsRESTGetAllowed                   bool
	IsRESTPutAllowed                   bool
	IsRESTDeleteAllowed                bool
	IsRESTPatchAllowed                 bool
	IsRESTHeadAllowed                  bool
	IsRESTOptionsAllowed               bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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