51 lines
1.1 KiB
Go
51 lines
1.1 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: session.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package protobuf is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
session.proto
|
|
|
|
It has these top-level messages:
|
|
Session
|
|
*/
|
|
package protobuf
|
|
|
|
import proto "code.google.com/p/gogoprotobuf/proto"
|
|
import json "encoding/json"
|
|
import math "math"
|
|
|
|
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = &json.SyntaxError{}
|
|
var _ = math.Inf
|
|
|
|
type Session struct {
|
|
Values []byte `protobuf:"bytes,1,opt" json:"Values,omitempty"`
|
|
ExpiresAt *int64 `protobuf:"varint,2,opt" json:"ExpiresAt,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Session) Reset() { *m = Session{} }
|
|
func (m *Session) String() string { return proto.CompactTextString(m) }
|
|
func (*Session) ProtoMessage() {}
|
|
|
|
func (m *Session) GetValues() []byte {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Session) GetExpiresAt() int64 {
|
|
if m != nil && m.ExpiresAt != nil {
|
|
return *m.ExpiresAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
}
|