prnx

package
v0.0.0-...-10bc8b7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDGetPrn

func IDGetPrn(id string, serviceName string) string

IDGetPrn get prn ID

func PrnGetID

func PrnGetID(prn string) string

PrnGetID make this a nice prn helper tool

Types

type Prn

type Prn string

Prn string to define Prn

func GetPrn

func GetPrn(id string, serviceName string) Prn

GetPrn get prn ID

func (*Prn) GetInfo

func (p *Prn) GetInfo() (*PrnInfo, error)

GetInfo get information

type PrnInfo

type PrnInfo struct {
	Domain   string
	Service  string
	Resource string
	ID       string
}

PrnInfo Prn information

func (*PrnInfo) Equals

func (p *PrnInfo) Equals(c *PrnInfo) bool

Equals test if two PRN are equals

type PrnParseError

type PrnParseError string

PrnParseError string to define Prn parse Error

func (PrnParseError) Error

func (s PrnParseError) Error() string

Jump to

Keyboard shortcuts

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