naming

package
v0.0.0-...-ff5f600 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package naming provides an implementation of the interfaces in v.io/v23/naming.

Index

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

func NewEndpoint(input string) (*Endpoint, error)

NewEndpoint creates a new endpoint from a string as per naming.NewEndpoint

func (*Endpoint) Addr

func (ep *Endpoint) Addr() net.Addr

func (*Endpoint) BlessingNames

func (ep *Endpoint) BlessingNames() []string

func (*Endpoint) Name

func (ep *Endpoint) Name() string

func (*Endpoint) Network

func (ep *Endpoint) Network() string

func (*Endpoint) Routes

func (ep *Endpoint) Routes() []string

func (*Endpoint) RoutingID

func (ep *Endpoint) RoutingID() naming.RoutingID

func (*Endpoint) ServesLeaf

func (ep *Endpoint) ServesLeaf() bool

func (*Endpoint) ServesMountTable

func (ep *Endpoint) ServesMountTable() bool

func (*Endpoint) String

func (ep *Endpoint) String() string

func (*Endpoint) VersionedString

func (ep *Endpoint) VersionedString(version int) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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