card

package
v0.0.0-...-9bd2c4f Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package card is a generated protocol buffer package.

It is generated from these files:

github.com/GoCollaborate/src/artifacts/card/card.proto

It has these top-level messages:

Card

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	IP    string `protobuf:"bytes,1,opt,name=IP" json:"IP,omitempty"`
	Port  int32  `protobuf:"varint,2,opt,name=Port" json:"Port,omitempty"`
	Alive bool   `protobuf:"varint,3,opt,name=Alive" json:"Alive,omitempty"`
	API   string `protobuf:"bytes,4,opt,name=API" json:"API,omitempty"`
	Seed  bool   `protobuf:"varint,5,opt,name=Seed" json:"Seed,omitempty"`
}

func Default

func Default() *Card

current RPC port

func NewCard

func NewCard(ip string, port int32, alive bool, api string, seed bool) *Card

Card is the network config of server

func (*Card) Descriptor

func (*Card) Descriptor() ([]byte, []int)

func (*Card) GetAPI

func (m *Card) GetAPI() string

func (*Card) GetAlive

func (m *Card) GetAlive() bool

func (*Card) GetFullEndPoint

func (c *Card) GetFullEndPoint() string

func (*Card) GetFullExposureAddress

func (c *Card) GetFullExposureAddress() string

func (*Card) GetFullExposureCard

func (c *Card) GetFullExposureCard() Card

func (*Card) GetFullIP

func (c *Card) GetFullIP() string

func (*Card) GetIP

func (m *Card) GetIP() string

func (*Card) GetPort

func (m *Card) GetPort() int32

func (*Card) GetSeed

func (m *Card) GetSeed() bool

func (*Card) IsEqualTo

func (c *Card) IsEqualTo(another *Card) bool

func (*Card) IsInitialized

func (c *Card) IsInitialized() bool

func (*Card) IsSeed

func (c *Card) IsSeed() bool

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) Reset

func (m *Card) Reset()

func (*Card) SetAlive

func (c *Card) SetAlive(alive bool)

func (*Card) String

func (m *Card) String() string

func (*Card) ToSeed

func (c *Card) ToSeed()

Jump to

Keyboard shortcuts

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