naming

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntityTemplate = "dom.%s"

EntityTemplate provides standard naming for logging

View Source
var HandlerTemplate = "api.%s.%s"

HandlerTemplate provides standard naming for logging

View Source
var RepositoryTemplate = "repo.%s.%s"

RepositoryTemplate provides standard naming for logging

View Source
var ServerTemplate = "api.%s.server"

ServerTemplate provides standard naming for logging

View Source
var ServiceTemplate = "svc.%s"

ServiceTemplate provides standard naming for logging

Functions

func GetEntityID

func GetEntityID(name string) string

GetEntityID returns the complete identifier for an Entity

func GetHandlerID

func GetHandlerID(presentationType string, name string) string

GetHandlerID returns the complete identifier for a Presentation Handler

func GetRepositoryID

func GetRepositoryID(storageType string, name string) string

GetRepositoryID returns the complete identifier for a Repository

func GetServerID added in v0.3.0

func GetServerID(presentationType string) string

GetServerID returns the complete identifier for a Presentation Server

func GetServiceID

func GetServiceID(name string) string

GetServiceID returns the complete identifier for a Repository

Types

This section is empty.

Jump to

Keyboard shortcuts

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