Documentation ¶
Index ¶
- Variables
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- type CreateUserCodeRequest
- func (*CreateUserCodeRequest) Descriptor() ([]byte, []int)
- func (this *CreateUserCodeRequest) Equal(that interface{}) bool
- func (m *CreateUserCodeRequest) GetCardId() uint32
- func (m *CreateUserCodeRequest) GetUserCode() string
- func (this *CreateUserCodeRequest) GoString() string
- func (m *CreateUserCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateUserCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateUserCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateUserCodeRequest) ProtoMessage()
- func (m *CreateUserCodeRequest) Reset()
- func (m *CreateUserCodeRequest) Size() (n int)
- func (this *CreateUserCodeRequest) String() string
- func (m *CreateUserCodeRequest) Unmarshal(dAtA []byte) error
- func (m *CreateUserCodeRequest) XXX_DiscardUnknown()
- func (m *CreateUserCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserCodeRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserCodeRequest) XXX_Size() int
- func (m *CreateUserCodeRequest) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (this *Session) Equal(that interface{}) bool
- func (m *Session) GetCardId() uint32
- func (m *Session) GetExpiresIn() *types.Duration
- func (m *Session) GetId() string
- func (this *Session) GoString() string
- func (m *Session) Marshal() (dAtA []byte, err error)
- func (m *Session) MarshalTo(dAtA []byte) (int, error)
- func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) Size() (n int)
- func (this *Session) String() string
- func (m *Session) Unmarshal(dAtA []byte) error
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type SessionRequest
- func (*SessionRequest) Descriptor() ([]byte, []int)
- func (this *SessionRequest) Equal(that interface{}) bool
- func (m *SessionRequest) GetCardId() uint32
- func (this *SessionRequest) GoString() string
- func (m *SessionRequest) Marshal() (dAtA []byte, err error)
- func (m *SessionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessionRequest) ProtoMessage()
- func (m *SessionRequest) Reset()
- func (m *SessionRequest) Size() (n int)
- func (this *SessionRequest) String() string
- func (m *SessionRequest) Unmarshal(dAtA []byte) error
- func (m *SessionRequest) XXX_DiscardUnknown()
- func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionRequest) XXX_Merge(src proto.Message)
- func (m *SessionRequest) XXX_Size() int
- func (m *SessionRequest) XXX_Unmarshal(b []byte) error
- type SessionResponse
- func (*SessionResponse) Descriptor() ([]byte, []int)
- func (this *SessionResponse) Equal(that interface{}) bool
- func (m *SessionResponse) GetSession() *Session
- func (this *SessionResponse) GoString() string
- func (m *SessionResponse) Marshal() (dAtA []byte, err error)
- func (m *SessionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessionResponse) ProtoMessage()
- func (m *SessionResponse) Reset()
- func (m *SessionResponse) Size() (n int)
- func (this *SessionResponse) String() string
- func (m *SessionResponse) Unmarshal(dAtA []byte) error
- func (m *SessionResponse) XXX_DiscardUnknown()
- func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionResponse) XXX_Merge(src proto.Message)
- func (m *SessionResponse) XXX_Size() int
- func (m *SessionResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedUserServer
- func (*UnimplementedUserServer) CreateUserCode(ctx context.Context, req *CreateUserCodeRequest) (*types.Empty, error)
- func (*UnimplementedUserServer) GetUserCode(ctx context.Context, req *UserCodeRequest) (*UserCodeResponse, error)
- func (*UnimplementedUserServer) NewSession(ctx context.Context, req *SessionRequest) (*SessionResponse, error)
- func (*UnimplementedUserServer) ValidateSession(ctx context.Context, req *ValidateSessionRequest) (*ValidateSessionResponse, error)
- type UserClient
- type UserCodeRequest
- func (*UserCodeRequest) Descriptor() ([]byte, []int)
- func (this *UserCodeRequest) Equal(that interface{}) bool
- func (m *UserCodeRequest) GetCardId() uint32
- func (this *UserCodeRequest) GoString() string
- func (m *UserCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *UserCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UserCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserCodeRequest) ProtoMessage()
- func (m *UserCodeRequest) Reset()
- func (m *UserCodeRequest) Size() (n int)
- func (this *UserCodeRequest) String() string
- func (m *UserCodeRequest) Unmarshal(dAtA []byte) error
- func (m *UserCodeRequest) XXX_DiscardUnknown()
- func (m *UserCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserCodeRequest) XXX_Merge(src proto.Message)
- func (m *UserCodeRequest) XXX_Size() int
- func (m *UserCodeRequest) XXX_Unmarshal(b []byte) error
- type UserCodeResponse
- func (*UserCodeResponse) Descriptor() ([]byte, []int)
- func (this *UserCodeResponse) Equal(that interface{}) bool
- func (m *UserCodeResponse) GetUserCode() string
- func (this *UserCodeResponse) GoString() string
- func (m *UserCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *UserCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UserCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserCodeResponse) ProtoMessage()
- func (m *UserCodeResponse) Reset()
- func (m *UserCodeResponse) Size() (n int)
- func (this *UserCodeResponse) String() string
- func (m *UserCodeResponse) Unmarshal(dAtA []byte) error
- func (m *UserCodeResponse) XXX_DiscardUnknown()
- func (m *UserCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserCodeResponse) XXX_Merge(src proto.Message)
- func (m *UserCodeResponse) XXX_Size() int
- func (m *UserCodeResponse) XXX_Unmarshal(b []byte) error
- type UserServer
- type ValidateSessionRequest
- func (*ValidateSessionRequest) Descriptor() ([]byte, []int)
- func (this *ValidateSessionRequest) Equal(that interface{}) bool
- func (m *ValidateSessionRequest) GetSessionId() string
- func (this *ValidateSessionRequest) GoString() string
- func (m *ValidateSessionRequest) Marshal() (dAtA []byte, err error)
- func (m *ValidateSessionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidateSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidateSessionRequest) ProtoMessage()
- func (m *ValidateSessionRequest) Reset()
- func (m *ValidateSessionRequest) Size() (n int)
- func (this *ValidateSessionRequest) String() string
- func (m *ValidateSessionRequest) Unmarshal(dAtA []byte) error
- func (m *ValidateSessionRequest) XXX_DiscardUnknown()
- func (m *ValidateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateSessionRequest) XXX_Merge(src proto.Message)
- func (m *ValidateSessionRequest) XXX_Size() int
- func (m *ValidateSessionRequest) XXX_Unmarshal(b []byte) error
- type ValidateSessionResponse
- func (*ValidateSessionResponse) Descriptor() ([]byte, []int)
- func (this *ValidateSessionResponse) Equal(that interface{}) bool
- func (m *ValidateSessionResponse) GetSession() *Session
- func (m *ValidateSessionResponse) GetValid() bool
- func (this *ValidateSessionResponse) GoString() string
- func (m *ValidateSessionResponse) Marshal() (dAtA []byte, err error)
- func (m *ValidateSessionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidateSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidateSessionResponse) ProtoMessage()
- func (m *ValidateSessionResponse) Reset()
- func (m *ValidateSessionResponse) Size() (n int)
- func (this *ValidateSessionResponse) String() string
- func (m *ValidateSessionResponse) Unmarshal(dAtA []byte) error
- func (m *ValidateSessionResponse) XXX_DiscardUnknown()
- func (m *ValidateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateSessionResponse) XXX_Merge(src proto.Message)
- func (m *ValidateSessionResponse) XXX_Size() int
- func (m *ValidateSessionResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthUser = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUser = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterUserServer ¶
func RegisterUserServer(s *grpc.Server, srv UserServer)
Types ¶
type CreateUserCodeRequest ¶
type CreateUserCodeRequest struct { CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` UserCode string `protobuf:"bytes,2,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"` }
func (*CreateUserCodeRequest) Descriptor ¶
func (*CreateUserCodeRequest) Descriptor() ([]byte, []int)
func (*CreateUserCodeRequest) Equal ¶
func (this *CreateUserCodeRequest) Equal(that interface{}) bool
func (*CreateUserCodeRequest) GetCardId ¶
func (m *CreateUserCodeRequest) GetCardId() uint32
func (*CreateUserCodeRequest) GetUserCode ¶
func (m *CreateUserCodeRequest) GetUserCode() string
func (*CreateUserCodeRequest) GoString ¶
func (this *CreateUserCodeRequest) GoString() string
func (*CreateUserCodeRequest) Marshal ¶
func (m *CreateUserCodeRequest) Marshal() (dAtA []byte, err error)
func (*CreateUserCodeRequest) MarshalTo ¶
func (m *CreateUserCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateUserCodeRequest) MarshalToSizedBuffer ¶
func (m *CreateUserCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateUserCodeRequest) ProtoMessage ¶
func (*CreateUserCodeRequest) ProtoMessage()
func (*CreateUserCodeRequest) Reset ¶
func (m *CreateUserCodeRequest) Reset()
func (*CreateUserCodeRequest) Size ¶
func (m *CreateUserCodeRequest) Size() (n int)
func (*CreateUserCodeRequest) String ¶
func (this *CreateUserCodeRequest) String() string
func (*CreateUserCodeRequest) Unmarshal ¶
func (m *CreateUserCodeRequest) Unmarshal(dAtA []byte) error
func (*CreateUserCodeRequest) XXX_DiscardUnknown ¶
func (m *CreateUserCodeRequest) XXX_DiscardUnknown()
func (*CreateUserCodeRequest) XXX_Marshal ¶
func (m *CreateUserCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserCodeRequest) XXX_Merge ¶
func (m *CreateUserCodeRequest) XXX_Merge(src proto.Message)
func (*CreateUserCodeRequest) XXX_Size ¶
func (m *CreateUserCodeRequest) XXX_Size() int
func (*CreateUserCodeRequest) XXX_Unmarshal ¶
func (m *CreateUserCodeRequest) XXX_Unmarshal(b []byte) error
type Session ¶
type Session struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` ExpiresIn *types.Duration `protobuf:"bytes,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` }
func (*Session) Descriptor ¶
func (*Session) GetExpiresIn ¶
func (*Session) MarshalToSizedBuffer ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
type SessionRequest ¶
type SessionRequest struct {
CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
}
func (*SessionRequest) Descriptor ¶
func (*SessionRequest) Descriptor() ([]byte, []int)
func (*SessionRequest) Equal ¶
func (this *SessionRequest) Equal(that interface{}) bool
func (*SessionRequest) GetCardId ¶
func (m *SessionRequest) GetCardId() uint32
func (*SessionRequest) GoString ¶
func (this *SessionRequest) GoString() string
func (*SessionRequest) Marshal ¶
func (m *SessionRequest) Marshal() (dAtA []byte, err error)
func (*SessionRequest) MarshalToSizedBuffer ¶
func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest) ProtoMessage ¶
func (*SessionRequest) ProtoMessage()
func (*SessionRequest) Reset ¶
func (m *SessionRequest) Reset()
func (*SessionRequest) Size ¶
func (m *SessionRequest) Size() (n int)
func (*SessionRequest) String ¶
func (this *SessionRequest) String() string
func (*SessionRequest) Unmarshal ¶
func (m *SessionRequest) Unmarshal(dAtA []byte) error
func (*SessionRequest) XXX_DiscardUnknown ¶
func (m *SessionRequest) XXX_DiscardUnknown()
func (*SessionRequest) XXX_Marshal ¶
func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionRequest) XXX_Merge ¶
func (m *SessionRequest) XXX_Merge(src proto.Message)
func (*SessionRequest) XXX_Size ¶
func (m *SessionRequest) XXX_Size() int
func (*SessionRequest) XXX_Unmarshal ¶
func (m *SessionRequest) XXX_Unmarshal(b []byte) error
type SessionResponse ¶
type SessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}
func (*SessionResponse) Descriptor ¶
func (*SessionResponse) Descriptor() ([]byte, []int)
func (*SessionResponse) Equal ¶
func (this *SessionResponse) Equal(that interface{}) bool
func (*SessionResponse) GetSession ¶
func (m *SessionResponse) GetSession() *Session
func (*SessionResponse) GoString ¶
func (this *SessionResponse) GoString() string
func (*SessionResponse) Marshal ¶
func (m *SessionResponse) Marshal() (dAtA []byte, err error)
func (*SessionResponse) MarshalToSizedBuffer ¶
func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse) ProtoMessage ¶
func (*SessionResponse) ProtoMessage()
func (*SessionResponse) Reset ¶
func (m *SessionResponse) Reset()
func (*SessionResponse) Size ¶
func (m *SessionResponse) Size() (n int)
func (*SessionResponse) String ¶
func (this *SessionResponse) String() string
func (*SessionResponse) Unmarshal ¶
func (m *SessionResponse) Unmarshal(dAtA []byte) error
func (*SessionResponse) XXX_DiscardUnknown ¶
func (m *SessionResponse) XXX_DiscardUnknown()
func (*SessionResponse) XXX_Marshal ¶
func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionResponse) XXX_Merge ¶
func (m *SessionResponse) XXX_Merge(src proto.Message)
func (*SessionResponse) XXX_Size ¶
func (m *SessionResponse) XXX_Size() int
func (*SessionResponse) XXX_Unmarshal ¶
func (m *SessionResponse) XXX_Unmarshal(b []byte) error
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServer) CreateUserCode ¶
func (*UnimplementedUserServer) CreateUserCode(ctx context.Context, req *CreateUserCodeRequest) (*types.Empty, error)
func (*UnimplementedUserServer) GetUserCode ¶
func (*UnimplementedUserServer) GetUserCode(ctx context.Context, req *UserCodeRequest) (*UserCodeResponse, error)
func (*UnimplementedUserServer) NewSession ¶
func (*UnimplementedUserServer) NewSession(ctx context.Context, req *SessionRequest) (*SessionResponse, error)
func (*UnimplementedUserServer) ValidateSession ¶
func (*UnimplementedUserServer) ValidateSession(ctx context.Context, req *ValidateSessionRequest) (*ValidateSessionResponse, error)
type UserClient ¶
type UserClient interface { NewSession(ctx context.Context, in *SessionRequest, opts ...grpc.CallOption) (*SessionResponse, error) ValidateSession(ctx context.Context, in *ValidateSessionRequest, opts ...grpc.CallOption) (*ValidateSessionResponse, error) GetUserCode(ctx context.Context, in *UserCodeRequest, opts ...grpc.CallOption) (*UserCodeResponse, error) CreateUserCode(ctx context.Context, in *CreateUserCodeRequest, opts ...grpc.CallOption) (*types.Empty, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc *grpc.ClientConn) UserClient
type UserCodeRequest ¶
type UserCodeRequest struct {
CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
}
func (*UserCodeRequest) Descriptor ¶
func (*UserCodeRequest) Descriptor() ([]byte, []int)
func (*UserCodeRequest) Equal ¶
func (this *UserCodeRequest) Equal(that interface{}) bool
func (*UserCodeRequest) GetCardId ¶
func (m *UserCodeRequest) GetCardId() uint32
func (*UserCodeRequest) GoString ¶
func (this *UserCodeRequest) GoString() string
func (*UserCodeRequest) Marshal ¶
func (m *UserCodeRequest) Marshal() (dAtA []byte, err error)
func (*UserCodeRequest) MarshalToSizedBuffer ¶
func (m *UserCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserCodeRequest) ProtoMessage ¶
func (*UserCodeRequest) ProtoMessage()
func (*UserCodeRequest) Reset ¶
func (m *UserCodeRequest) Reset()
func (*UserCodeRequest) Size ¶
func (m *UserCodeRequest) Size() (n int)
func (*UserCodeRequest) String ¶
func (this *UserCodeRequest) String() string
func (*UserCodeRequest) Unmarshal ¶
func (m *UserCodeRequest) Unmarshal(dAtA []byte) error
func (*UserCodeRequest) XXX_DiscardUnknown ¶
func (m *UserCodeRequest) XXX_DiscardUnknown()
func (*UserCodeRequest) XXX_Marshal ¶
func (m *UserCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserCodeRequest) XXX_Merge ¶
func (m *UserCodeRequest) XXX_Merge(src proto.Message)
func (*UserCodeRequest) XXX_Size ¶
func (m *UserCodeRequest) XXX_Size() int
func (*UserCodeRequest) XXX_Unmarshal ¶
func (m *UserCodeRequest) XXX_Unmarshal(b []byte) error
type UserCodeResponse ¶
type UserCodeResponse struct {
UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
}
func (*UserCodeResponse) Descriptor ¶
func (*UserCodeResponse) Descriptor() ([]byte, []int)
func (*UserCodeResponse) Equal ¶
func (this *UserCodeResponse) Equal(that interface{}) bool
func (*UserCodeResponse) GetUserCode ¶
func (m *UserCodeResponse) GetUserCode() string
func (*UserCodeResponse) GoString ¶
func (this *UserCodeResponse) GoString() string
func (*UserCodeResponse) Marshal ¶
func (m *UserCodeResponse) Marshal() (dAtA []byte, err error)
func (*UserCodeResponse) MarshalToSizedBuffer ¶
func (m *UserCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserCodeResponse) ProtoMessage ¶
func (*UserCodeResponse) ProtoMessage()
func (*UserCodeResponse) Reset ¶
func (m *UserCodeResponse) Reset()
func (*UserCodeResponse) Size ¶
func (m *UserCodeResponse) Size() (n int)
func (*UserCodeResponse) String ¶
func (this *UserCodeResponse) String() string
func (*UserCodeResponse) Unmarshal ¶
func (m *UserCodeResponse) Unmarshal(dAtA []byte) error
func (*UserCodeResponse) XXX_DiscardUnknown ¶
func (m *UserCodeResponse) XXX_DiscardUnknown()
func (*UserCodeResponse) XXX_Marshal ¶
func (m *UserCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserCodeResponse) XXX_Merge ¶
func (m *UserCodeResponse) XXX_Merge(src proto.Message)
func (*UserCodeResponse) XXX_Size ¶
func (m *UserCodeResponse) XXX_Size() int
func (*UserCodeResponse) XXX_Unmarshal ¶
func (m *UserCodeResponse) XXX_Unmarshal(b []byte) error
type UserServer ¶
type UserServer interface { NewSession(context.Context, *SessionRequest) (*SessionResponse, error) ValidateSession(context.Context, *ValidateSessionRequest) (*ValidateSessionResponse, error) GetUserCode(context.Context, *UserCodeRequest) (*UserCodeResponse, error) CreateUserCode(context.Context, *CreateUserCodeRequest) (*types.Empty, error) }
UserServer is the server API for User service.
type ValidateSessionRequest ¶
type ValidateSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
}
func (*ValidateSessionRequest) Descriptor ¶
func (*ValidateSessionRequest) Descriptor() ([]byte, []int)
func (*ValidateSessionRequest) Equal ¶
func (this *ValidateSessionRequest) Equal(that interface{}) bool
func (*ValidateSessionRequest) GetSessionId ¶
func (m *ValidateSessionRequest) GetSessionId() string
func (*ValidateSessionRequest) GoString ¶
func (this *ValidateSessionRequest) GoString() string
func (*ValidateSessionRequest) Marshal ¶
func (m *ValidateSessionRequest) Marshal() (dAtA []byte, err error)
func (*ValidateSessionRequest) MarshalTo ¶
func (m *ValidateSessionRequest) MarshalTo(dAtA []byte) (int, error)
func (*ValidateSessionRequest) MarshalToSizedBuffer ¶
func (m *ValidateSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidateSessionRequest) ProtoMessage ¶
func (*ValidateSessionRequest) ProtoMessage()
func (*ValidateSessionRequest) Reset ¶
func (m *ValidateSessionRequest) Reset()
func (*ValidateSessionRequest) Size ¶
func (m *ValidateSessionRequest) Size() (n int)
func (*ValidateSessionRequest) String ¶
func (this *ValidateSessionRequest) String() string
func (*ValidateSessionRequest) Unmarshal ¶
func (m *ValidateSessionRequest) Unmarshal(dAtA []byte) error
func (*ValidateSessionRequest) XXX_DiscardUnknown ¶
func (m *ValidateSessionRequest) XXX_DiscardUnknown()
func (*ValidateSessionRequest) XXX_Marshal ¶
func (m *ValidateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateSessionRequest) XXX_Merge ¶
func (m *ValidateSessionRequest) XXX_Merge(src proto.Message)
func (*ValidateSessionRequest) XXX_Size ¶
func (m *ValidateSessionRequest) XXX_Size() int
func (*ValidateSessionRequest) XXX_Unmarshal ¶
func (m *ValidateSessionRequest) XXX_Unmarshal(b []byte) error
type ValidateSessionResponse ¶
type ValidateSessionResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` }
func (*ValidateSessionResponse) Descriptor ¶
func (*ValidateSessionResponse) Descriptor() ([]byte, []int)
func (*ValidateSessionResponse) Equal ¶
func (this *ValidateSessionResponse) Equal(that interface{}) bool
func (*ValidateSessionResponse) GetSession ¶
func (m *ValidateSessionResponse) GetSession() *Session
func (*ValidateSessionResponse) GetValid ¶
func (m *ValidateSessionResponse) GetValid() bool
func (*ValidateSessionResponse) GoString ¶
func (this *ValidateSessionResponse) GoString() string
func (*ValidateSessionResponse) Marshal ¶
func (m *ValidateSessionResponse) Marshal() (dAtA []byte, err error)
func (*ValidateSessionResponse) MarshalTo ¶
func (m *ValidateSessionResponse) MarshalTo(dAtA []byte) (int, error)
func (*ValidateSessionResponse) MarshalToSizedBuffer ¶
func (m *ValidateSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidateSessionResponse) ProtoMessage ¶
func (*ValidateSessionResponse) ProtoMessage()
func (*ValidateSessionResponse) Reset ¶
func (m *ValidateSessionResponse) Reset()
func (*ValidateSessionResponse) Size ¶
func (m *ValidateSessionResponse) Size() (n int)
func (*ValidateSessionResponse) String ¶
func (this *ValidateSessionResponse) String() string
func (*ValidateSessionResponse) Unmarshal ¶
func (m *ValidateSessionResponse) Unmarshal(dAtA []byte) error
func (*ValidateSessionResponse) XXX_DiscardUnknown ¶
func (m *ValidateSessionResponse) XXX_DiscardUnknown()
func (*ValidateSessionResponse) XXX_Marshal ¶
func (m *ValidateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateSessionResponse) XXX_Merge ¶
func (m *ValidateSessionResponse) XXX_Merge(src proto.Message)
func (*ValidateSessionResponse) XXX_Size ¶
func (m *ValidateSessionResponse) XXX_Size() int
func (*ValidateSessionResponse) XXX_Unmarshal ¶
func (m *ValidateSessionResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.