Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v1 state

Back to all declarations

assertIsRlmCurrent

func(int, rlm .uverse.realm)
Open
OID
09d834…2511:3
assertIsRlmCurrent details

Inspect func

assertPacketDataSize

func(data []uint8)
Open
OID
09d834…2511:5
assertPacketDataSize details

Inspect func

errSpoofedRealm

untyped string

ErrSpoofedRealm guards non-crossing (\_ int, rlm realm, ...) entrypoints: the passed rlm must be the current crossing frame, not a forged or stale token.

Value

"rlm does not match the current crossing frame"

makeError

func(msgs []string) .uverse.error

makeError builds a fresh error from one or more message parts joined by ", ". Errors are constructed at the call site (never shared package-level values) so the resulting object is owned by this (impl) realm rather than the realm that declared a shared sentinel. The base message constant comes first and any value-carrying detail after, e.g. makeError(core.ErrChannelNotFound, id.String()).

Open
OID
09d834…2511:6
makeError details

Inspect func

coreV1

type

coreV1 holds the injected proxy state and contains the host logic. State writes go through the store's borrow-rule setters: c.store.SetXxx(0, rlm, ...).

Value

v1.coreV1

NewCoreV1

func(s core.IStore) core.ICore

New constructs a fresh v1 impl. The store is injected by the proxy at install time via SetStore, so it is nil until installed.

Open
OID
09d834…2511:8
NewCoreV1 details

Inspect func

resolveRelayer

func(caller .uverse.address, relayer string) .uverse.address
Open
OID
09d834…2511:10
resolveRelayer details

Inspect func
assertIsRlmCurrent : func(int, rlm .uverse.realm) Inspect
assertPacketDataSize : func(data []uint8) Inspect
errSpoofedRealm : untyped string ="rlm does not match the current crossing frame"
makeError : func(msgs []string) .uverse.error Inspect
coreV1 : type =v1.coreV1
NewCoreV1 : func(s core.IStore) core.ICore Inspect
resolveRelayer : func(caller .uverse.address, relayer string) .uverse.address Inspect
init.7 : func() Inspect