Documentation ¶
Overview ¶
Package naming provides an implementation of the interfaces in v.io/v23/naming.
Index ¶
- Constants
- type Endpoint
- func (ep *Endpoint) Addr() net.Addr
- func (ep *Endpoint) BlessingNames() []string
- func (ep *Endpoint) Name() string
- func (ep *Endpoint) Network() string
- func (ep *Endpoint) Routes() []string
- func (ep *Endpoint) RoutingID() naming.RoutingID
- func (ep *Endpoint) ServesLeaf() bool
- func (ep *Endpoint) ServesMountTable() bool
- func (ep *Endpoint) String() string
- func (ep *Endpoint) VersionedString(version int) string
Constants ¶
View Source
const Network = "v23"
Network is the string returned by naming.Endpoint.Network implementations defined in this package.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { Protocol string Address string RID naming.RoutingID RouteList []string Blessings []string IsMountTable bool IsLeaf bool }
Endpoint is a naming.Endpoint implementation used to convey RPC information.
func NewEndpoint ¶
NewEndpoint creates a new endpoint from a string as per naming.NewEndpoint
func (*Endpoint) BlessingNames ¶
func (*Endpoint) ServesLeaf ¶
func (*Endpoint) ServesMountTable ¶
func (*Endpoint) VersionedString ¶
Click to show internal directories.
Click to hide internal directories.