-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsession.pb.go
47 lines (38 loc) · 1.08 KB
/
session.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Code generated by protoc-gen-gogo.
// source: shared/protobuf/session.proto
// DO NOT EDIT!
/*
Package protobuf is a generated protocol buffer package.
It is generated from these files:
shared/protobuf/session.proto
It has these top-level messages:
Session
*/
package protobuf
import proto "github.com/gogo/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 Session struct {
Values []byte `protobuf:"bytes,1,opt,name=Values" json:"Values,omitempty"`
ExpiresAt *int64 `protobuf:"varint,2,opt,name=ExpiresAt" 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
}