distinguishable

package
v0.0.0-...-82560b4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_target_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Target

type Target struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
	Office    string `protobuf:"bytes,2,opt,name=office,proto3" json:"office,omitempty"`
	Zone      string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	Continent string `protobuf:"bytes,4,opt,name=continent,proto3" json:"continent,omitempty"`
	// contains filtered or unexported fields
}

func (*Target) Descriptor deprecated

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

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetContinent

func (x *Target) GetContinent() string

func (*Target) GetId

func (x *Target) GetId() string

func (*Target) GetOffice

func (x *Target) GetOffice() string

func (*Target) GetZone

func (x *Target) GetZone() string

func (*Target) Identifier

func (t *Target) Identifier() string

Identifier implements the Distinguishable interface

func (*Target) IsDistinguishable

func (t *Target) IsDistinguishable() bool

IsDistinguishable implements the DistinguishableAsserter interface used by the application layer to assert valid targets

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

Jump to

Keyboard shortcuts

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