Documentation
¶
Overview ¶
Package gogofaster is a generated protocol buffer package.
It is generated from these files:
data.proto
It has these top-level messages:
GoGoFasterBasicMemInfo GoGoFasterMemInfo GoGoFasterMessage GoGoFasterRedditAccount GoGoFasterAccountData GoGoFasterCPUInfo GoGoFasterCPU
Index ¶
- Variables
- func BenchBasicMemInfo() []benchutil.Bench
- func BenchCPUInfo(l int) []benchutil.Bench
- func BenchMemInfo() []benchutil.Bench
- func BenchMessage(l int) []benchutil.Bench
- func BenchRedditAccount() []benchutil.Bench
- type GoGoFasterAccountData
- func (*GoGoFasterAccountData) Descriptor() ([]byte, []int)
- func (m *GoGoFasterAccountData) Marshal() (data []byte, err error)
- func (m *GoGoFasterAccountData) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterAccountData) ProtoMessage()
- func (m *GoGoFasterAccountData) Reset()
- func (m *GoGoFasterAccountData) Size() (n int)
- func (m *GoGoFasterAccountData) String() string
- func (m *GoGoFasterAccountData) Unmarshal(data []byte) error
- type GoGoFasterBasicMemInfo
- func (*GoGoFasterBasicMemInfo) Descriptor() ([]byte, []int)
- func (m *GoGoFasterBasicMemInfo) Marshal() (data []byte, err error)
- func (m *GoGoFasterBasicMemInfo) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterBasicMemInfo) ProtoMessage()
- func (m *GoGoFasterBasicMemInfo) Reset()
- func (m *GoGoFasterBasicMemInfo) Size() (n int)
- func (m *GoGoFasterBasicMemInfo) String() string
- func (m *GoGoFasterBasicMemInfo) Unmarshal(data []byte) error
- type GoGoFasterCPU
- func (*GoGoFasterCPU) Descriptor() ([]byte, []int)
- func (m *GoGoFasterCPU) Marshal() (data []byte, err error)
- func (m *GoGoFasterCPU) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterCPU) ProtoMessage()
- func (m *GoGoFasterCPU) Reset()
- func (m *GoGoFasterCPU) Size() (n int)
- func (m *GoGoFasterCPU) String() string
- func (m *GoGoFasterCPU) Unmarshal(data []byte) error
- type GoGoFasterCPUInfo
- func (*GoGoFasterCPUInfo) Descriptor() ([]byte, []int)
- func (m *GoGoFasterCPUInfo) GetCPUs() []*GoGoFasterCPU
- func (m *GoGoFasterCPUInfo) Marshal() (data []byte, err error)
- func (m *GoGoFasterCPUInfo) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterCPUInfo) ProtoMessage()
- func (m *GoGoFasterCPUInfo) Reset()
- func (m *GoGoFasterCPUInfo) Size() (n int)
- func (m *GoGoFasterCPUInfo) String() string
- func (m *GoGoFasterCPUInfo) Unmarshal(data []byte) error
- type GoGoFasterMemInfo
- func (*GoGoFasterMemInfo) Descriptor() ([]byte, []int)
- func (m *GoGoFasterMemInfo) Marshal() (data []byte, err error)
- func (m *GoGoFasterMemInfo) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterMemInfo) ProtoMessage()
- func (m *GoGoFasterMemInfo) Reset()
- func (m *GoGoFasterMemInfo) Size() (n int)
- func (m *GoGoFasterMemInfo) String() string
- func (m *GoGoFasterMemInfo) Unmarshal(data []byte) error
- type GoGoFasterMessage
- func (*GoGoFasterMessage) Descriptor() ([]byte, []int)
- func (m *GoGoFasterMessage) Marshal() (data []byte, err error)
- func (m *GoGoFasterMessage) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterMessage) ProtoMessage()
- func (m *GoGoFasterMessage) Reset()
- func (m *GoGoFasterMessage) Size() (n int)
- func (m *GoGoFasterMessage) String() string
- func (m *GoGoFasterMessage) Unmarshal(data []byte) error
- type GoGoFasterRedditAccount
- func (*GoGoFasterRedditAccount) Descriptor() ([]byte, []int)
- func (m *GoGoFasterRedditAccount) GetData() *GoGoFasterAccountData
- func (m *GoGoFasterRedditAccount) Marshal() (data []byte, err error)
- func (m *GoGoFasterRedditAccount) MarshalTo(data []byte) (int, error)
- func (*GoGoFasterRedditAccount) ProtoMessage()
- func (m *GoGoFasterRedditAccount) Reset()
- func (m *GoGoFasterRedditAccount) Size() (n int)
- func (m *GoGoFasterRedditAccount) String() string
- func (m *GoGoFasterRedditAccount) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowData = fmt.Errorf("proto: integer overflow") )
Functions ¶
func BenchBasicMemInfo ¶
BenchBasicMemInfo runs the BasicMemInfo benches for Marshal/Unmarshal.
func BenchCPUInfo ¶
BenchCPUInfo runs the CPUInfo benches for Marshal/Unmarshal.
func BenchMemInfo ¶
BenchMemInfo runs the MemInfo benches for Marshal/Unmarshal.
func BenchMessage ¶
BenchMessage runs the Message benches for Marshal/Unmarshal.
func BenchRedditAccount ¶
BenchmarkRedditAccount runs the RedditAccount benches for Marshal/Unmarshal.
Types ¶
type GoGoFasterAccountData ¶
type GoGoFasterAccountData struct {
CommentKarma int64 `protobuf:"varint,1,opt,name=CommentKarma,json=commentKarma,proto3" json:"CommentKarma,omitempty"`
HasMail bool `protobuf:"varint,2,opt,name=HasMail,json=hasMail,proto3" json:"HasMail,omitempty"`
HasModMail bool `protobuf:"varint,3,opt,name=HasModMail,json=hasModMail,proto3" json:"HasModMail,omitempty"`
ID string `protobuf:"bytes,4,opt,name=ID,json=iD,proto3" json:"ID,omitempty"`
InboxCount int64 `protobuf:"varint,5,opt,name=InboxCount,json=inboxCount,proto3" json:"InboxCount,omitempty"`
IsFriend bool `protobuf:"varint,6,opt,name=IsFriend,json=isFriend,proto3" json:"IsFriend,omitempty"`
IsGold bool `protobuf:"varint,7,opt,name=IsGold,json=isGold,proto3" json:"IsGold,omitempty"`
LinkKarma int64 `protobuf:"varint,8,opt,name=LinkKarma,json=linkKarma,proto3" json:"LinkKarma,omitempty"`
ModHash string `protobuf:"bytes,9,opt,name=ModHash,json=modHash,proto3" json:"ModHash,omitempty"`
Name string `protobuf:"bytes,10,opt,name=Name,json=name,proto3" json:"Name,omitempty"`
Over18 bool `protobuf:"varint,11,opt,name=Over18,json=over18,proto3" json:"Over18,omitempty"`
}
func (*GoGoFasterAccountData) Descriptor ¶
func (*GoGoFasterAccountData) Descriptor() ([]byte, []int)
func (*GoGoFasterAccountData) Marshal ¶
func (m *GoGoFasterAccountData) Marshal() (data []byte, err error)
func (*GoGoFasterAccountData) MarshalTo ¶
func (m *GoGoFasterAccountData) MarshalTo(data []byte) (int, error)
func (*GoGoFasterAccountData) ProtoMessage ¶
func (*GoGoFasterAccountData) ProtoMessage()
func (*GoGoFasterAccountData) Reset ¶
func (m *GoGoFasterAccountData) Reset()
func (*GoGoFasterAccountData) Size ¶
func (m *GoGoFasterAccountData) Size() (n int)
func (*GoGoFasterAccountData) String ¶
func (m *GoGoFasterAccountData) String() string
func (*GoGoFasterAccountData) Unmarshal ¶
func (m *GoGoFasterAccountData) Unmarshal(data []byte) error
type GoGoFasterBasicMemInfo ¶
type GoGoFasterBasicMemInfo struct {
MemTotal int64 `protobuf:"varint,1,opt,name=MemTotal,json=memTotal,proto3" json:"MemTotal,omitempty"`
MemFree int64 `protobuf:"varint,2,opt,name=MemFree,json=memFree,proto3" json:"MemFree,omitempty"`
MemAvailable int64 `protobuf:"varint,3,opt,name=MemAvailable,json=memAvailable,proto3" json:"MemAvailable,omitempty"`
Buffers int64 `protobuf:"varint,4,opt,name=Buffers,json=buffers,proto3" json:"Buffers,omitempty"`
Cached int64 `protobuf:"varint,5,opt,name=Cached,json=cached,proto3" json:"Cached,omitempty"`
SwapCached int64 `protobuf:"varint,6,opt,name=SwapCached,json=swapCached,proto3" json:"SwapCached,omitempty"`
SwapTotal int64 `protobuf:"varint,7,opt,name=SwapTotal,json=swapTotal,proto3" json:"SwapTotal,omitempty"`
SwapFree int64 `protobuf:"varint,8,opt,name=SwapFree,json=swapFree,proto3" json:"SwapFree,omitempty"`
}
func PrepareBasicMemInfoData ¶
func PrepareBasicMemInfoData(data []shared.ShBasicMemInfo) []GoGoFasterBasicMemInfo
PrepareBasicMemInfoData generates the protobuf version of the data.
func (*GoGoFasterBasicMemInfo) Descriptor ¶
func (*GoGoFasterBasicMemInfo) Descriptor() ([]byte, []int)
func (*GoGoFasterBasicMemInfo) Marshal ¶
func (m *GoGoFasterBasicMemInfo) Marshal() (data []byte, err error)
func (*GoGoFasterBasicMemInfo) MarshalTo ¶
func (m *GoGoFasterBasicMemInfo) MarshalTo(data []byte) (int, error)
func (*GoGoFasterBasicMemInfo) ProtoMessage ¶
func (*GoGoFasterBasicMemInfo) ProtoMessage()
func (*GoGoFasterBasicMemInfo) Reset ¶
func (m *GoGoFasterBasicMemInfo) Reset()
func (*GoGoFasterBasicMemInfo) Size ¶
func (m *GoGoFasterBasicMemInfo) Size() (n int)
func (*GoGoFasterBasicMemInfo) String ¶
func (m *GoGoFasterBasicMemInfo) String() string
func (*GoGoFasterBasicMemInfo) Unmarshal ¶
func (m *GoGoFasterBasicMemInfo) Unmarshal(data []byte) error
type GoGoFasterCPU ¶
type GoGoFasterCPU struct {
Processor int32 `protobuf:"varint,1,opt,name=Processor,json=processor,proto3" json:"Processor,omitempty"`
VendorID string `protobuf:"bytes,2,opt,name=VendorID,json=vendorID,proto3" json:"VendorID,omitempty"`
CPUFamily string `protobuf:"bytes,3,opt,name=CPUFamily,json=cPUFamily,proto3" json:"CPUFamily,omitempty"`
Model string `protobuf:"bytes,4,opt,name=Model,json=model,proto3" json:"Model,omitempty"`
ModelName string `protobuf:"bytes,5,opt,name=ModelName,json=modelName,proto3" json:"ModelName,omitempty"`
Stepping string `protobuf:"bytes,6,opt,name=Stepping,json=stepping,proto3" json:"Stepping,omitempty"`
Microcode string `protobuf:"bytes,7,opt,name=Microcode,json=microcode,proto3" json:"Microcode,omitempty"`
CPUMHz float32 `protobuf:"fixed32,8,opt,name=CPUMHz,json=cPUMHz,proto3" json:"CPUMHz,omitempty"`
CacheSize string `protobuf:"bytes,9,opt,name=CacheSize,json=cacheSize,proto3" json:"CacheSize,omitempty"`
PhysicalID int32 `protobuf:"varint,10,opt,name=PhysicalID,json=physicalID,proto3" json:"PhysicalID,omitempty"`
Siblings int32 `protobuf:"varint,11,opt,name=Siblings,json=siblings,proto3" json:"Siblings,omitempty"`
CoreID int32 `protobuf:"varint,12,opt,name=CoreID,json=coreID,proto3" json:"CoreID,omitempty"`
CPUCores int32 `protobuf:"varint,13,opt,name=CPUCores,json=cPUCores,proto3" json:"CPUCores,omitempty"`
ApicID int32 `protobuf:"varint,14,opt,name=ApicID,json=apicID,proto3" json:"ApicID,omitempty"`
InitialApicID int32 `protobuf:"varint,15,opt,name=InitialApicID,json=initialApicID,proto3" json:"InitialApicID,omitempty"`
FPU string `protobuf:"bytes,16,opt,name=FPU,json=fPU,proto3" json:"FPU,omitempty"`
FPUException string `protobuf:"bytes,17,opt,name=FPUException,json=fPUException,proto3" json:"FPUException,omitempty"`
CPUIDLevel string `protobuf:"bytes,18,opt,name=CPUIDLevel,json=cPUIDLevel,proto3" json:"CPUIDLevel,omitempty"`
WP string `protobuf:"bytes,19,opt,name=WP,json=wP,proto3" json:"WP,omitempty"`
Flags string `protobuf:"bytes,21,opt,name=Flags,json=flags,proto3" json:"Flags,omitempty"`
BogoMIPS float32 `protobuf:"fixed32,22,opt,name=BogoMIPS,json=bogoMIPS,proto3" json:"BogoMIPS,omitempty"`
CLFlushSize string `protobuf:"bytes,23,opt,name=CLFlushSize,json=cLFlushSize,proto3" json:"CLFlushSize,omitempty"`
CacheAlignment string `protobuf:"bytes,24,opt,name=CacheAlignment,json=cacheAlignment,proto3" json:"CacheAlignment,omitempty"`
AddressSizes string `protobuf:"bytes,25,opt,name=AddressSizes,json=addressSizes,proto3" json:"AddressSizes,omitempty"`
PowerManagement string `protobuf:"bytes,26,opt,name=PowerManagement,json=powerManagement,proto3" json:"PowerManagement,omitempty"`
}
func (*GoGoFasterCPU) Descriptor ¶
func (*GoGoFasterCPU) Descriptor() ([]byte, []int)
func (*GoGoFasterCPU) Marshal ¶
func (m *GoGoFasterCPU) Marshal() (data []byte, err error)
func (*GoGoFasterCPU) ProtoMessage ¶
func (*GoGoFasterCPU) ProtoMessage()
func (*GoGoFasterCPU) Reset ¶
func (m *GoGoFasterCPU) Reset()
func (*GoGoFasterCPU) Size ¶
func (m *GoGoFasterCPU) Size() (n int)
func (*GoGoFasterCPU) String ¶
func (m *GoGoFasterCPU) String() string
func (*GoGoFasterCPU) Unmarshal ¶
func (m *GoGoFasterCPU) Unmarshal(data []byte) error
type GoGoFasterCPUInfo ¶
type GoGoFasterCPUInfo struct {
CPUs []*GoGoFasterCPU `protobuf:"bytes,1,rep,name=CPUs,json=cPUs" json:"CPUs,omitempty"`
}
func PrepareCPUInfoData ¶
func PrepareCPUInfoData(data []shared.ShCPUInfo) []GoGoFasterCPUInfo
PrepareCPUInfoData generates the ProtobufV3 version of the data.
func (*GoGoFasterCPUInfo) Descriptor ¶
func (*GoGoFasterCPUInfo) Descriptor() ([]byte, []int)
func (*GoGoFasterCPUInfo) GetCPUs ¶
func (m *GoGoFasterCPUInfo) GetCPUs() []*GoGoFasterCPU
func (*GoGoFasterCPUInfo) Marshal ¶
func (m *GoGoFasterCPUInfo) Marshal() (data []byte, err error)
func (*GoGoFasterCPUInfo) MarshalTo ¶
func (m *GoGoFasterCPUInfo) MarshalTo(data []byte) (int, error)
func (*GoGoFasterCPUInfo) ProtoMessage ¶
func (*GoGoFasterCPUInfo) ProtoMessage()
func (*GoGoFasterCPUInfo) Reset ¶
func (m *GoGoFasterCPUInfo) Reset()
func (*GoGoFasterCPUInfo) Size ¶
func (m *GoGoFasterCPUInfo) Size() (n int)
func (*GoGoFasterCPUInfo) String ¶
func (m *GoGoFasterCPUInfo) String() string
func (*GoGoFasterCPUInfo) Unmarshal ¶
func (m *GoGoFasterCPUInfo) Unmarshal(data []byte) error
type GoGoFasterMemInfo ¶
type GoGoFasterMemInfo struct {
MemTotal int64 `protobuf:"varint,1,opt,name=MemTotal,json=memTotal,proto3" json:"MemTotal,omitempty"`
MemFree int64 `protobuf:"varint,2,opt,name=MemFree,json=memFree,proto3" json:"MemFree,omitempty"`
MemAvailable int64 `protobuf:"varint,3,opt,name=MemAvailable,json=memAvailable,proto3" json:"MemAvailable,omitempty"`
Buffers int64 `protobuf:"varint,4,opt,name=Buffers,json=buffers,proto3" json:"Buffers,omitempty"`
Cached int64 `protobuf:"varint,5,opt,name=Cached,json=cached,proto3" json:"Cached,omitempty"`
SwapCached int64 `protobuf:"varint,6,opt,name=SwapCached,json=swapCached,proto3" json:"SwapCached,omitempty"`
Active int64 `protobuf:"varint,7,opt,name=Active,json=active,proto3" json:"Active,omitempty"`
Inactive int64 `protobuf:"varint,8,opt,name=Inactive,json=inactive,proto3" json:"Inactive,omitempty"`
ActiveAnon int64 `protobuf:"varint,9,opt,name=ActiveAnon,json=activeAnon,proto3" json:"ActiveAnon,omitempty"`
InactiveAnon int64 `protobuf:"varint,10,opt,name=InactiveAnon,json=inactiveAnon,proto3" json:"InactiveAnon,omitempty"`
ActiveFile int64 `protobuf:"varint,11,opt,name=ActiveFile,json=activeFile,proto3" json:"ActiveFile,omitempty"`
InactiveFile int64 `protobuf:"varint,12,opt,name=InactiveFile,json=inactiveFile,proto3" json:"InactiveFile,omitempty"`
Unevictable int64 `protobuf:"varint,13,opt,name=Unevictable,json=unevictable,proto3" json:"Unevictable,omitempty"`
Mlocked int64 `protobuf:"varint,14,opt,name=Mlocked,json=mlocked,proto3" json:"Mlocked,omitempty"`
SwapTotal int64 `protobuf:"varint,15,opt,name=SwapTotal,json=swapTotal,proto3" json:"SwapTotal,omitempty"`
SwapFree int64 `protobuf:"varint,16,opt,name=SwapFree,json=swapFree,proto3" json:"SwapFree,omitempty"`
Dirty int64 `protobuf:"varint,17,opt,name=Dirty,json=dirty,proto3" json:"Dirty,omitempty"`
Writeback int64 `protobuf:"varint,18,opt,name=Writeback,json=writeback,proto3" json:"Writeback,omitempty"`
AnonPages int64 `protobuf:"varint,19,opt,name=AnonPages,json=anonPages,proto3" json:"AnonPages,omitempty"`
Mapped int64 `protobuf:"varint,20,opt,name=Mapped,json=mapped,proto3" json:"Mapped,omitempty"`
Shmem int64 `protobuf:"varint,21,opt,name=Shmem,json=shmem,proto3" json:"Shmem,omitempty"`
Slab int64 `protobuf:"varint,22,opt,name=Slab,json=slab,proto3" json:"Slab,omitempty"`
SReclaimable int64 `protobuf:"varint,23,opt,name=SReclaimable,json=sReclaimable,proto3" json:"SReclaimable,omitempty"`
SUnreclaim int64 `protobuf:"varint,24,opt,name=SUnreclaim,json=sUnreclaim,proto3" json:"SUnreclaim,omitempty"`
KernelStack int64 `protobuf:"varint,25,opt,name=KernelStack,json=kernelStack,proto3" json:"KernelStack,omitempty"`
NFSUnstable int64 `protobuf:"varint,26,opt,name=NFSUnstable,json=nFSUnstable,proto3" json:"NFSUnstable,omitempty"`
Bounce int64 `protobuf:"varint,27,opt,name=Bounce,json=bounce,proto3" json:"Bounce,omitempty"`
WritebackTmp int64 `protobuf:"varint,28,opt,name=WritebackTmp,json=writebackTmp,proto3" json:"WritebackTmp,omitempty"`
CommitLimit int64 `protobuf:"varint,29,opt,name=CommitLimit,json=commitLimit,proto3" json:"CommitLimit,omitempty"`
VmallocTotal int64 `protobuf:"varint,30,opt,name=VmallocTotal,json=vmallocTotal,proto3" json:"VmallocTotal,omitempty"`
VmallocUsed int64 `protobuf:"varint,31,opt,name=VmallocUsed,json=vmallocUsed,proto3" json:"VmallocUsed,omitempty"`
VmallocChunk int64 `protobuf:"varint,32,opt,name=VmallocChunk,json=vmallocChunk,proto3" json:"VmallocChunk,omitempty"`
HardwareCorrupted int64 `protobuf:"varint,33,opt,name=HardwareCorrupted,json=hardwareCorrupted,proto3" json:"HardwareCorrupted,omitempty"`
AnonHugePages int64 `protobuf:"varint,34,opt,name=AnonHugePages,json=anonHugePages,proto3" json:"AnonHugePages,omitempty"`
HugePagesTotal int64 `protobuf:"varint,35,opt,name=HugePagesTotal,json=hugePagesTotal,proto3" json:"HugePagesTotal,omitempty"`
HugePagesFree int64 `protobuf:"varint,36,opt,name=HugePagesFree,json=hugePagesFree,proto3" json:"HugePagesFree,omitempty"`
HugePagesRsvd int64 `protobuf:"varint,37,opt,name=HugePagesRsvd,json=hugePagesRsvd,proto3" json:"HugePagesRsvd,omitempty"`
Hugepagesize int64 `protobuf:"varint,38,opt,name=Hugepagesize,json=hugepagesize,proto3" json:"Hugepagesize,omitempty"`
DirectMap4K int64 `protobuf:"varint,39,opt,name=DirectMap4k,json=directMap4k,proto3" json:"DirectMap4k,omitempty"`
DirectMap2M int64 `protobuf:"varint,40,opt,name=DirectMap2M,json=directMap2M,proto3" json:"DirectMap2M,omitempty"`
}
func PrepareMemInfoData ¶
func PrepareMemInfoData(data []shared.ShMemInfo) []GoGoFasterMemInfo
PrepareMemInfoData generates the protobuf version of the data.
func (*GoGoFasterMemInfo) Descriptor ¶
func (*GoGoFasterMemInfo) Descriptor() ([]byte, []int)
func (*GoGoFasterMemInfo) Marshal ¶
func (m *GoGoFasterMemInfo) Marshal() (data []byte, err error)
func (*GoGoFasterMemInfo) MarshalTo ¶
func (m *GoGoFasterMemInfo) MarshalTo(data []byte) (int, error)
func (*GoGoFasterMemInfo) ProtoMessage ¶
func (*GoGoFasterMemInfo) ProtoMessage()
func (*GoGoFasterMemInfo) Reset ¶
func (m *GoGoFasterMemInfo) Reset()
func (*GoGoFasterMemInfo) Size ¶
func (m *GoGoFasterMemInfo) Size() (n int)
func (*GoGoFasterMemInfo) String ¶
func (m *GoGoFasterMemInfo) String() string
func (*GoGoFasterMemInfo) Unmarshal ¶
func (m *GoGoFasterMemInfo) Unmarshal(data []byte) error
type GoGoFasterMessage ¶
type GoGoFasterMessage struct {
ID []byte `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"`
DestID uint32 `protobuf:"varint,2,opt,name=DestID,json=destID,proto3" json:"DestID,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=Type,json=type,proto3" json:"Type,omitempty"`
Kind int32 `protobuf:"varint,4,opt,name=Kind,json=kind,proto3" json:"Kind,omitempty"`
Data []byte `protobuf:"bytes,5,opt,name=Data,json=data,proto3" json:"Data,omitempty"`
}
func PrepareMessageData ¶
func PrepareMessageData(data []shared.ShMessage) []GoGoFasterMessage
PrepareMessageData generates the protobuf version of the data.
func (*GoGoFasterMessage) Descriptor ¶
func (*GoGoFasterMessage) Descriptor() ([]byte, []int)
func (*GoGoFasterMessage) Marshal ¶
func (m *GoGoFasterMessage) Marshal() (data []byte, err error)
func (*GoGoFasterMessage) MarshalTo ¶
func (m *GoGoFasterMessage) MarshalTo(data []byte) (int, error)
func (*GoGoFasterMessage) ProtoMessage ¶
func (*GoGoFasterMessage) ProtoMessage()
func (*GoGoFasterMessage) Reset ¶
func (m *GoGoFasterMessage) Reset()
func (*GoGoFasterMessage) Size ¶
func (m *GoGoFasterMessage) Size() (n int)
func (*GoGoFasterMessage) String ¶
func (m *GoGoFasterMessage) String() string
func (*GoGoFasterMessage) Unmarshal ¶
func (m *GoGoFasterMessage) Unmarshal(data []byte) error
type GoGoFasterRedditAccount ¶
type GoGoFasterRedditAccount struct {
ID string `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=Kind,json=kind,proto3" json:"Kind,omitempty"`
Data *GoGoFasterAccountData `protobuf:"bytes,4,opt,name=Data,json=data" json:"Data,omitempty"`
}
func PrepareRedditAccountData ¶
func PrepareRedditAccountData(data []shared.ShRedditAccount) []GoGoFasterRedditAccount
PrepareRedditAccountData generates the protobuf version of the data.
func (*GoGoFasterRedditAccount) Descriptor ¶
func (*GoGoFasterRedditAccount) Descriptor() ([]byte, []int)
func (*GoGoFasterRedditAccount) GetData ¶
func (m *GoGoFasterRedditAccount) GetData() *GoGoFasterAccountData
func (*GoGoFasterRedditAccount) Marshal ¶
func (m *GoGoFasterRedditAccount) Marshal() (data []byte, err error)
func (*GoGoFasterRedditAccount) MarshalTo ¶
func (m *GoGoFasterRedditAccount) MarshalTo(data []byte) (int, error)
func (*GoGoFasterRedditAccount) ProtoMessage ¶
func (*GoGoFasterRedditAccount) ProtoMessage()
func (*GoGoFasterRedditAccount) Reset ¶
func (m *GoGoFasterRedditAccount) Reset()
func (*GoGoFasterRedditAccount) Size ¶
func (m *GoGoFasterRedditAccount) Size() (n int)
func (*GoGoFasterRedditAccount) String ¶
func (m *GoGoFasterRedditAccount) String() string
func (*GoGoFasterRedditAccount) Unmarshal ¶
func (m *GoGoFasterRedditAccount) Unmarshal(data []byte) error