singular

package
v0.0.0-...-501eabc Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package singular is a generated protocol buffer package.

It is generated from these files:

singular.proto

It has these top-level messages:

Request
Data

Index

Constants

This section is empty.

Variables

View Source
var Request_Meta_name = map[int32]string{
	0: "NewProxy",
	1: "Assign",
}
View Source
var Request_Meta_value = map[string]int32{
	"NewProxy": 0,
	"Assign":   1,
}

Functions

This section is empty.

Types

type Data

type Data struct {
	RequestId []byte `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"`
	Payload   []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*Data) Descriptor

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

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

type Request

type Request struct {
	Meta    Request_Meta `protobuf:"varint,1,opt,name=meta,enum=Request_Meta" json:"meta,omitempty"`
	Payload string       `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Request_Meta

type Request_Meta int32
const (
	Request_NewProxy Request_Meta = 0
	Request_Assign   Request_Meta = 1
)

func (Request_Meta) EnumDescriptor

func (Request_Meta) EnumDescriptor() ([]byte, []int)

func (Request_Meta) String

func (x Request_Meta) String() string

Jump to

Keyboard shortcuts

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