You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gosuv/pbrpc/gosuv.pb.go

65 lines
1.5 KiB

// Code generated by protoc-gen-go.
// source: gosuv.proto
// DO NOT EDIT!
/*
Package pbrpc is a generated protocol buffer package.
It is generated from these files:
gosuv.proto
It has these top-level messages:
CtrlRequest
CtrlResponse
*/
package pbrpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type CtrlRequest struct {
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CtrlRequest) Reset() { *m = CtrlRequest{} }
func (m *CtrlRequest) String() string { return proto.CompactTextString(m) }
func (*CtrlRequest) ProtoMessage() {}
func (m *CtrlRequest) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *CtrlRequest) GetKey() string {
if m != nil && m.Key != nil {
return *m.Key
}
return ""
}
type CtrlResponse struct {
Value *string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CtrlResponse) Reset() { *m = CtrlResponse{} }
func (m *CtrlResponse) String() string { return proto.CompactTextString(m) }
func (*CtrlResponse) ProtoMessage() {}
func (m *CtrlResponse) GetValue() string {
if m != nil && m.Value != nil {
return *m.Value
}
return ""
}