package
1.2.1
Repository: https://github.com/go-magma/magma.git
Documentation: pkg.go.dev

# Functions

GetClientNetworkID looks up the Gateway caller retrieved from GRPC/HTTP Context (if present) where it's set by the middleware and returns the NetworkID associated to the gateway.
GetStreamGatewayId returns a valid, non nil Gateway identity based on thestream's metadata CTX or error if no GW Identity can be found/verified.
IsGateway Checks if it's an Identity of Gateway and returns true if it is.
IsOperator Checks if it's an Identity of Operator and returns true if it is.
NewGateway returns Gateway identity corresponding to given hardware network & logical gateway IDs.
NewGatewayWildcard returns Network Wildcard identity see protos/identity_helper.go.
NewNetwork returns Network identity corresponding to given networkId see protos/identity_helper.go.
NewNetworkWildcard returns Network Wildcard identity see protos/identity_helper.go.
NewOperator returns Operator identity corresponding to given opId see protos/identity_helper.go.
NewOperatorWildcard returns Operator Wildcard identity see protos/identity_helper.go.

# Constants

No description provided by the author