upid

package
v0.0.0-...-53c5426 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package upid defines the UPID type and some utilities of the UPID.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UPID

type UPID struct {
	ID   string
	Host string
	Port string
}

UPID is a equivalent of the UPID in libprocess.

func Parse

func Parse(input string) (*UPID, error)

Parse parses the UPID from the input string.

func (*UPID) Equal

func (u *UPID) Equal(upid *UPID) bool

Equal returns true if two upid is equal

func (UPID) String

func (u UPID) String() string

String returns the string representation.

Jump to

Keyboard shortcuts

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