actoruid

package
v0.1424.0-MLPAB2405eve... Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package actoruid provides an identifier for the various actors on an LPA.

Index

Constants

This section is empty.

Variables

View Source
var Service = UID{/* contains filtered or unexported fields */}

Service is used when the application does an action.

Functions

This section is empty.

Types

type Prefixed added in v0.1430.0

type Prefixed UID

Prefixed can be used to wrap a UID so it JSON marshals with PrefixedString instead of String.

func (Prefixed) MarshalJSON added in v0.1430.0

func (u Prefixed) MarshalJSON() ([]byte, error)

type UID

type UID struct {
	// contains filtered or unexported fields
}

func FromRequest

func FromRequest(r interface{ FormValue(string) string }) UID

func New

func New() UID

func Parse added in v0.1094.0

func Parse(uid string) (UID, error)

func (UID) IsZero

func (u UID) IsZero() bool

func (UID) MarshalDynamoDBAttributeValue

func (u UID) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)

func (UID) MarshalJSON

func (u UID) MarshalJSON() ([]byte, error)

func (UID) PrefixedString

func (u UID) PrefixedString() string

func (UID) String

func (u UID) String() string

func (*UID) UnmarshalDynamoDBAttributeValue

func (u *UID) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error

func (*UID) UnmarshalText

func (u *UID) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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