phonebook

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package phonebook is a generated protocol buffer package.

It is generated from these files:

phonebook.proto

It has these top-level messages:

Contact

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EtcdContactPath

func EtcdContactPath(contact *Contact) string

EtcdContactPath returns the path for a given contact.

func EtcdPath

func EtcdPath() string

EtcdPath returns the base path were the phonebook records are stored.

Types

type Contact

type Contact struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Company     string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
	Phonenumber string `protobuf:"bytes,3,opt,name=phonenumber,proto3" json:"phonenumber,omitempty"`
}

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) String

func (m *Contact) String() string

Jump to

Keyboard shortcuts

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