From f4bbab50561ea899417dc6e74972efdeeaa15935 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Thu, 22 Dec 2016 16:50:31 -0800 Subject: [PATCH] server/internal: generate protobuf types --- server/internal/types.pb.go | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 server/internal/types.pb.go diff --git a/server/internal/types.pb.go b/server/internal/types.pb.go new file mode 100644 index 00000000..791944f5 --- /dev/null +++ b/server/internal/types.pb.go @@ -0,0 +1,59 @@ +// Code generated by protoc-gen-go. +// source: server/internal/types.proto +// DO NOT EDIT! + +/* +Package internal is a generated protocol buffer package. + +Package internal holds protobuf types used by the server + +It is generated from these files: + server/internal/types.proto + +It has these top-level messages: + RefreshToken +*/ +package internal + +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 + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// RefreshToken is a message that holds refresh token data used by dex. +type RefreshToken struct { + RefreshId string `protobuf:"bytes,1,opt,name=refresh_id,json=refreshId" json:"refresh_id,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` +} + +func (m *RefreshToken) Reset() { *m = RefreshToken{} } +func (m *RefreshToken) String() string { return proto.CompactTextString(m) } +func (*RefreshToken) ProtoMessage() {} +func (*RefreshToken) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } + +func init() { + proto.RegisterType((*RefreshToken)(nil), "internal.RefreshToken") +} + +func init() { proto.RegisterFile("server/internal/types.proto", fileDescriptor0) } + +var fileDescriptor0 = []byte{ + // 112 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0x4e, 0x2d, 0x2a, + 0x4b, 0x2d, 0xd2, 0xcf, 0xcc, 0x2b, 0x49, 0x2d, 0xca, 0x4b, 0xcc, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, + 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x80, 0x89, 0x2a, 0x39, 0x73, 0xf1, 0x04, + 0xa5, 0xa6, 0x15, 0xa5, 0x16, 0x67, 0x84, 0xe4, 0x67, 0xa7, 0xe6, 0x09, 0xc9, 0x72, 0x71, 0x15, + 0x41, 0xf8, 0xf1, 0x99, 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x9c, 0x50, 0x11, 0xcf, + 0x14, 0x21, 0x11, 0x2e, 0xd6, 0x12, 0x90, 0x3a, 0x09, 0x26, 0xb0, 0x0c, 0x84, 0x93, 0xc4, 0x06, + 0x36, 0xd5, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xd0, 0x5a, 0x1d, 0x74, 0x00, 0x00, 0x00, +}