Documentation ¶
Index ¶
- Variables
- func RegisterCUPServer(s *grpc.Server, srv CUPServer)
- type Appointment
- func (*Appointment) Descriptor() ([]byte, []int)
- func (this *Appointment) Equal(that interface{}) bool
- func (m *Appointment) GetChoices() []*Choice
- func (m *Appointment) GetEndDate() *types.Timestamp
- func (m *Appointment) GetFixed() bool
- func (m *Appointment) GetSelected() *Option
- func (m *Appointment) GetSlot() int32
- func (m *Appointment) GetStartDate() *types.Timestamp
- func (this *Appointment) GoString() string
- func (m *Appointment) Marshal() (dAtA []byte, err error)
- func (m *Appointment) MarshalTo(dAtA []byte) (int, error)
- func (m *Appointment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Appointment) ProtoMessage()
- func (m *Appointment) Reset()
- func (m *Appointment) Size() (n int)
- func (this *Appointment) String() string
- func (m *Appointment) Unmarshal(dAtA []byte) error
- func (m *Appointment) XXX_DiscardUnknown()
- func (m *Appointment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Appointment) XXX_Merge(src proto.Message)
- func (m *Appointment) XXX_Size() int
- func (m *Appointment) XXX_Unmarshal(b []byte) error
- type CUPClient
- type CUPServer
- type CUP_SignInClient
- type CUP_SignInRetryClient
- type CUP_SignInRetryServer
- type CUP_SignInServer
- type Choice
- func (*Choice) Descriptor() ([]byte, []int)
- func (this *Choice) Equal(that interface{}) bool
- func (m *Choice) GetFull() bool
- func (m *Choice) GetInternalId() int32
- func (m *Choice) GetOption() *Option
- func (this *Choice) GoString() string
- func (m *Choice) Marshal() (dAtA []byte, err error)
- func (m *Choice) MarshalTo(dAtA []byte) (int, error)
- func (m *Choice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Choice) ProtoMessage()
- func (m *Choice) Reset()
- func (m *Choice) Size() (n int)
- func (this *Choice) String() string
- func (m *Choice) Unmarshal(dAtA []byte) error
- func (m *Choice) XXX_DiscardUnknown()
- func (m *Choice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Choice) XXX_Merge(src proto.Message)
- func (m *Choice) XXX_Size() int
- func (m *Choice) XXX_Unmarshal(b []byte) error
- type ChooseRequest
- func (*ChooseRequest) Descriptor() ([]byte, []int)
- func (this *ChooseRequest) Equal(that interface{}) bool
- func (m *ChooseRequest) GetInternalId() int32
- func (m *ChooseRequest) GetSession() *Session
- func (this *ChooseRequest) GoString() string
- func (m *ChooseRequest) Marshal() (dAtA []byte, err error)
- func (m *ChooseRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ChooseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChooseRequest) ProtoMessage()
- func (m *ChooseRequest) Reset()
- func (m *ChooseRequest) Size() (n int)
- func (this *ChooseRequest) String() string
- func (m *ChooseRequest) Unmarshal(dAtA []byte) error
- func (m *ChooseRequest) XXX_DiscardUnknown()
- func (m *ChooseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChooseRequest) XXX_Merge(src proto.Message)
- func (m *ChooseRequest) XXX_Size() int
- func (m *ChooseRequest) XXX_Unmarshal(b []byte) error
- type ChooseResponse
- func (*ChooseResponse) Descriptor() ([]byte, []int)
- func (this *ChooseResponse) Equal(that interface{}) bool
- func (m *ChooseResponse) GetSession() *Session
- func (this *ChooseResponse) GoString() string
- func (m *ChooseResponse) Marshal() (dAtA []byte, err error)
- func (m *ChooseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ChooseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChooseResponse) ProtoMessage()
- func (m *ChooseResponse) Reset()
- func (m *ChooseResponse) Size() (n int)
- func (this *ChooseResponse) String() string
- func (m *ChooseResponse) Unmarshal(dAtA []byte) error
- func (m *ChooseResponse) XXX_DiscardUnknown()
- func (m *ChooseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChooseResponse) XXX_Merge(src proto.Message)
- func (m *ChooseResponse) XXX_Size() int
- func (m *ChooseResponse) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (this *GetUserRequest) Equal(that interface{}) bool
- func (m *GetUserRequest) GetTtSessionId() string
- func (this *GetUserRequest) GoString() string
- func (m *GetUserRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) Size() (n int)
- func (this *GetUserRequest) String() string
- func (m *GetUserRequest) Unmarshal(dAtA []byte) error
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (this *GetUserResponse) Equal(that interface{}) bool
- func (m *GetUserResponse) GetCupName() string
- func (this *GetUserResponse) GoString() string
- func (m *GetUserResponse) Marshal() (dAtA []byte, err error)
- func (m *GetUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) Size() (n int)
- func (this *GetUserResponse) String() string
- func (m *GetUserResponse) Unmarshal(dAtA []byte) error
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type HistoryOption
- func (*HistoryOption) Descriptor() ([]byte, []int)
- func (this *HistoryOption) Equal(that interface{}) bool
- func (m *HistoryOption) GetDate() *types.Timestamp
- func (m *HistoryOption) GetOption() *Option
- func (m *HistoryOption) GetSlot() int32
- func (this *HistoryOption) GoString() string
- func (m *HistoryOption) Marshal() (dAtA []byte, err error)
- func (m *HistoryOption) MarshalTo(dAtA []byte) (int, error)
- func (m *HistoryOption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HistoryOption) ProtoMessage()
- func (m *HistoryOption) Reset()
- func (m *HistoryOption) Size() (n int)
- func (this *HistoryOption) String() string
- func (m *HistoryOption) Unmarshal(dAtA []byte) error
- func (m *HistoryOption) XXX_DiscardUnknown()
- func (m *HistoryOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryOption) XXX_Merge(src proto.Message)
- func (m *HistoryOption) XXX_Size() int
- func (m *HistoryOption) XXX_Unmarshal(b []byte) error
- type Option
- func (*Option) Descriptor() ([]byte, []int)
- func (this *Option) Equal(that interface{}) bool
- func (m *Option) GetAvailablePlaces() int32
- func (m *Option) GetInfo() string
- func (m *Option) GetText() string
- func (this *Option) GoString() string
- func (m *Option) Marshal() (dAtA []byte, err error)
- func (m *Option) MarshalTo(dAtA []byte) (int, error)
- func (m *Option) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Option) ProtoMessage()
- func (m *Option) Reset()
- func (m *Option) Size() (n int)
- func (this *Option) String() string
- func (m *Option) Unmarshal(dAtA []byte) error
- func (m *Option) XXX_DiscardUnknown()
- func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Option) XXX_Merge(src proto.Message)
- func (m *Option) XXX_Size() int
- func (m *Option) XXX_Unmarshal(b []byte) error
- type PendingAppointmentsRequest
- func (*PendingAppointmentsRequest) Descriptor() ([]byte, []int)
- func (this *PendingAppointmentsRequest) Equal(that interface{}) bool
- func (m *PendingAppointmentsRequest) GetSession() *Session
- func (this *PendingAppointmentsRequest) GoString() string
- func (m *PendingAppointmentsRequest) Marshal() (dAtA []byte, err error)
- func (m *PendingAppointmentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PendingAppointmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PendingAppointmentsRequest) ProtoMessage()
- func (m *PendingAppointmentsRequest) Reset()
- func (m *PendingAppointmentsRequest) Size() (n int)
- func (this *PendingAppointmentsRequest) String() string
- func (m *PendingAppointmentsRequest) Unmarshal(dAtA []byte) error
- func (m *PendingAppointmentsRequest) XXX_DiscardUnknown()
- func (m *PendingAppointmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingAppointmentsRequest) XXX_Merge(src proto.Message)
- func (m *PendingAppointmentsRequest) XXX_Size() int
- func (m *PendingAppointmentsRequest) XXX_Unmarshal(b []byte) error
- type PendingAppointmentsResponse
- func (*PendingAppointmentsResponse) Descriptor() ([]byte, []int)
- func (this *PendingAppointmentsResponse) Equal(that interface{}) bool
- func (m *PendingAppointmentsResponse) GetAppointments() []*Appointment
- func (m *PendingAppointmentsResponse) GetSession() *Session
- func (this *PendingAppointmentsResponse) GoString() string
- func (m *PendingAppointmentsResponse) Marshal() (dAtA []byte, err error)
- func (m *PendingAppointmentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PendingAppointmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PendingAppointmentsResponse) ProtoMessage()
- func (m *PendingAppointmentsResponse) Reset()
- func (m *PendingAppointmentsResponse) Size() (n int)
- func (this *PendingAppointmentsResponse) String() string
- func (m *PendingAppointmentsResponse) Unmarshal(dAtA []byte) error
- func (m *PendingAppointmentsResponse) XXX_DiscardUnknown()
- func (m *PendingAppointmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingAppointmentsResponse) XXX_Merge(src proto.Message)
- func (m *PendingAppointmentsResponse) XXX_Size() int
- func (m *PendingAppointmentsResponse) XXX_Unmarshal(b []byte) error
- type SearchUsersRequest
- func (*SearchUsersRequest) Descriptor() ([]byte, []int)
- func (this *SearchUsersRequest) Equal(that interface{}) bool
- func (m *SearchUsersRequest) GetFirstLetters() string
- func (this *SearchUsersRequest) GoString() string
- func (m *SearchUsersRequest) Marshal() (dAtA []byte, err error)
- func (m *SearchUsersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SearchUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SearchUsersRequest) ProtoMessage()
- func (m *SearchUsersRequest) Reset()
- func (m *SearchUsersRequest) Size() (n int)
- func (this *SearchUsersRequest) String() string
- func (m *SearchUsersRequest) Unmarshal(dAtA []byte) error
- func (m *SearchUsersRequest) XXX_DiscardUnknown()
- func (m *SearchUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchUsersRequest) XXX_Merge(src proto.Message)
- func (m *SearchUsersRequest) XXX_Size() int
- func (m *SearchUsersRequest) XXX_Unmarshal(b []byte) error
- type SearchUsersResponse
- func (*SearchUsersResponse) Descriptor() ([]byte, []int)
- func (this *SearchUsersResponse) Equal(that interface{}) bool
- func (m *SearchUsersResponse) GetUsers() []string
- func (this *SearchUsersResponse) GoString() string
- func (m *SearchUsersResponse) Marshal() (dAtA []byte, err error)
- func (m *SearchUsersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SearchUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SearchUsersResponse) ProtoMessage()
- func (m *SearchUsersResponse) Reset()
- func (m *SearchUsersResponse) Size() (n int)
- func (this *SearchUsersResponse) String() string
- func (m *SearchUsersResponse) Unmarshal(dAtA []byte) error
- func (m *SearchUsersResponse) XXX_DiscardUnknown()
- func (m *SearchUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchUsersResponse) XXX_Merge(src proto.Message)
- func (m *SearchUsersResponse) XXX_Size() int
- func (m *SearchUsersResponse) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (this *Session) Equal(that interface{}) bool
- func (m *Session) GetAspFields() map[string]string
- func (m *Session) GetExtraFields() map[string]string
- func (m *Session) GetLastRequest() *types.Timestamp
- func (m *Session) GetToken() 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 SetUserRequest
- func (*SetUserRequest) Descriptor() ([]byte, []int)
- func (this *SetUserRequest) Equal(that interface{}) bool
- func (m *SetUserRequest) GetCupName() string
- func (m *SetUserRequest) GetTtSessionId() string
- func (this *SetUserRequest) GoString() string
- func (m *SetUserRequest) Marshal() (dAtA []byte, err error)
- func (m *SetUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetUserRequest) ProtoMessage()
- func (m *SetUserRequest) Reset()
- func (m *SetUserRequest) Size() (n int)
- func (this *SetUserRequest) String() string
- func (m *SetUserRequest) Unmarshal(dAtA []byte) error
- func (m *SetUserRequest) XXX_DiscardUnknown()
- func (m *SetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetUserRequest) XXX_Merge(src proto.Message)
- func (m *SetUserRequest) XXX_Size() int
- func (m *SetUserRequest) XXX_Unmarshal(b []byte) error
- type SignInEvent
- func (*SignInEvent) Descriptor() ([]byte, []int)
- func (this *SignInEvent) Equal(that interface{}) bool
- func (m *SignInEvent) GetSelectedOpt() string
- func (m *SignInEvent) GetSession() *Session
- func (m *SignInEvent) GetType() SignInEventType
- func (this *SignInEvent) GoString() string
- func (m *SignInEvent) Marshal() (dAtA []byte, err error)
- func (m *SignInEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInEvent) ProtoMessage()
- func (m *SignInEvent) Reset()
- func (m *SignInEvent) Size() (n int)
- func (this *SignInEvent) String() string
- func (m *SignInEvent) Unmarshal(dAtA []byte) error
- func (m *SignInEvent) XXX_DiscardUnknown()
- func (m *SignInEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInEvent) XXX_Merge(src proto.Message)
- func (m *SignInEvent) XXX_Size() int
- func (m *SignInEvent) XXX_Unmarshal(b []byte) error
- type SignInEventType
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)
- func (this *SignInRequest) Equal(that interface{}) bool
- func (m *SignInRequest) GetPin() string
- func (m *SignInRequest) GetTtSessionId() string
- func (this *SignInRequest) GoString() string
- func (m *SignInRequest) Marshal() (dAtA []byte, err error)
- func (m *SignInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInRequest) ProtoMessage()
- func (m *SignInRequest) Reset()
- func (m *SignInRequest) Size() (n int)
- func (this *SignInRequest) String() string
- func (m *SignInRequest) Unmarshal(dAtA []byte) error
- func (m *SignInRequest) XXX_DiscardUnknown()
- func (m *SignInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInRequest) XXX_Merge(src proto.Message)
- func (m *SignInRequest) XXX_Size() int
- func (m *SignInRequest) XXX_Unmarshal(b []byte) error
- type SignInRetryRequest
- func (*SignInRetryRequest) Descriptor() ([]byte, []int)
- func (this *SignInRetryRequest) Equal(that interface{}) bool
- func (m *SignInRetryRequest) GetCaptchaText() string
- func (m *SignInRetryRequest) GetPin() string
- func (m *SignInRetryRequest) GetSelectedOpt() string
- func (m *SignInRetryRequest) GetSession() *Session
- func (this *SignInRetryRequest) GoString() string
- func (m *SignInRetryRequest) Marshal() (dAtA []byte, err error)
- func (m *SignInRetryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInRetryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInRetryRequest) ProtoMessage()
- func (m *SignInRetryRequest) Reset()
- func (m *SignInRetryRequest) Size() (n int)
- func (this *SignInRetryRequest) String() string
- func (m *SignInRetryRequest) Unmarshal(dAtA []byte) error
- func (m *SignInRetryRequest) XXX_DiscardUnknown()
- func (m *SignInRetryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInRetryRequest) XXX_Merge(src proto.Message)
- func (m *SignInRetryRequest) XXX_Size() int
- func (m *SignInRetryRequest) XXX_Unmarshal(b []byte) error
- type TimetableRequest
- func (*TimetableRequest) Descriptor() ([]byte, []int)
- func (this *TimetableRequest) Equal(that interface{}) bool
- func (m *TimetableRequest) GetSession() *Session
- func (this *TimetableRequest) GoString() string
- func (m *TimetableRequest) Marshal() (dAtA []byte, err error)
- func (m *TimetableRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TimetableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimetableRequest) ProtoMessage()
- func (m *TimetableRequest) Reset()
- func (m *TimetableRequest) Size() (n int)
- func (this *TimetableRequest) String() string
- func (m *TimetableRequest) Unmarshal(dAtA []byte) error
- func (m *TimetableRequest) XXX_DiscardUnknown()
- func (m *TimetableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimetableRequest) XXX_Merge(src proto.Message)
- func (m *TimetableRequest) XXX_Size() int
- func (m *TimetableRequest) XXX_Unmarshal(b []byte) error
- type TimetableResponse
- func (*TimetableResponse) Descriptor() ([]byte, []int)
- func (this *TimetableResponse) Equal(that interface{}) bool
- func (m *TimetableResponse) GetSession() *Session
- func (m *TimetableResponse) GetWeeks() []*TimetableWeek
- func (this *TimetableResponse) GoString() string
- func (m *TimetableResponse) Marshal() (dAtA []byte, err error)
- func (m *TimetableResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TimetableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimetableResponse) ProtoMessage()
- func (m *TimetableResponse) Reset()
- func (m *TimetableResponse) Size() (n int)
- func (this *TimetableResponse) String() string
- func (m *TimetableResponse) Unmarshal(dAtA []byte) error
- func (m *TimetableResponse) XXX_DiscardUnknown()
- func (m *TimetableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimetableResponse) XXX_Merge(src proto.Message)
- func (m *TimetableResponse) XXX_Size() int
- func (m *TimetableResponse) XXX_Unmarshal(b []byte) error
- type TimetableWeek
- func (*TimetableWeek) Descriptor() ([]byte, []int)
- func (this *TimetableWeek) Equal(that interface{}) bool
- func (m *TimetableWeek) GetAppointments() []*HistoryOption
- func (m *TimetableWeek) GetWeek() int32
- func (this *TimetableWeek) GoString() string
- func (m *TimetableWeek) Marshal() (dAtA []byte, err error)
- func (m *TimetableWeek) MarshalTo(dAtA []byte) (int, error)
- func (m *TimetableWeek) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimetableWeek) ProtoMessage()
- func (m *TimetableWeek) Reset()
- func (m *TimetableWeek) Size() (n int)
- func (this *TimetableWeek) String() string
- func (m *TimetableWeek) Unmarshal(dAtA []byte) error
- func (m *TimetableWeek) XXX_DiscardUnknown()
- func (m *TimetableWeek) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimetableWeek) XXX_Merge(src proto.Message)
- func (m *TimetableWeek) XXX_Size() int
- func (m *TimetableWeek) XXX_Unmarshal(b []byte) error
- type UnimplementedCUPServer
- func (*UnimplementedCUPServer) Choose(ctx context.Context, req *ChooseRequest) (*ChooseResponse, error)
- func (*UnimplementedCUPServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedCUPServer) PendingAppointments(ctx context.Context, req *PendingAppointmentsRequest) (*PendingAppointmentsResponse, error)
- func (*UnimplementedCUPServer) SearchUsers(ctx context.Context, req *SearchUsersRequest) (*SearchUsersResponse, error)
- func (*UnimplementedCUPServer) SetUser(ctx context.Context, req *SetUserRequest) (*types.Empty, error)
- func (*UnimplementedCUPServer) SignIn(req *SignInRequest, srv CUP_SignInServer) error
- func (*UnimplementedCUPServer) SignInRetry(req *SignInRetryRequest, srv CUP_SignInRetryServer) error
- func (*UnimplementedCUPServer) Timetable(ctx context.Context, req *TimetableRequest) (*TimetableResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCup = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCup = fmt.Errorf("proto: integer overflow") )
View Source
var SignInEventType_name = map[int32]string{
0: "SE_SEARCHING_NAME",
1: "SE_SELECTING_USER",
2: "SE_SIGNING_IN",
3: "SE_SIGNED_IN",
4: "SE_FAILED",
}
View Source
var SignInEventType_value = map[string]int32{
"SE_SEARCHING_NAME": 0,
"SE_SELECTING_USER": 1,
"SE_SIGNING_IN": 2,
"SE_SIGNED_IN": 3,
"SE_FAILED": 4,
}
Functions ¶
func RegisterCUPServer ¶
Types ¶
type Appointment ¶
type Appointment struct { Fixed bool `protobuf:"varint,1,opt,name=fixed,proto3" json:"fixed,omitempty"` Slot int32 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` StartDate *types.Timestamp `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *types.Timestamp `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Selected *Option `protobuf:"bytes,5,opt,name=selected,proto3" json:"selected,omitempty"` Choices []*Choice `protobuf:"bytes,6,rep,name=choices,proto3" json:"choices,omitempty"` }
func (*Appointment) Descriptor ¶
func (*Appointment) Descriptor() ([]byte, []int)
func (*Appointment) Equal ¶
func (this *Appointment) Equal(that interface{}) bool
func (*Appointment) GetChoices ¶
func (m *Appointment) GetChoices() []*Choice
func (*Appointment) GetEndDate ¶
func (m *Appointment) GetEndDate() *types.Timestamp
func (*Appointment) GetFixed ¶
func (m *Appointment) GetFixed() bool
func (*Appointment) GetSelected ¶
func (m *Appointment) GetSelected() *Option
func (*Appointment) GetSlot ¶
func (m *Appointment) GetSlot() int32
func (*Appointment) GetStartDate ¶
func (m *Appointment) GetStartDate() *types.Timestamp
func (*Appointment) GoString ¶
func (this *Appointment) GoString() string
func (*Appointment) Marshal ¶
func (m *Appointment) Marshal() (dAtA []byte, err error)
func (*Appointment) MarshalToSizedBuffer ¶
func (m *Appointment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Appointment) ProtoMessage ¶
func (*Appointment) ProtoMessage()
func (*Appointment) Reset ¶
func (m *Appointment) Reset()
func (*Appointment) Size ¶
func (m *Appointment) Size() (n int)
func (*Appointment) String ¶
func (this *Appointment) String() string
func (*Appointment) Unmarshal ¶
func (m *Appointment) Unmarshal(dAtA []byte) error
func (*Appointment) XXX_DiscardUnknown ¶
func (m *Appointment) XXX_DiscardUnknown()
func (*Appointment) XXX_Marshal ¶
func (m *Appointment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Appointment) XXX_Merge ¶
func (m *Appointment) XXX_Merge(src proto.Message)
func (*Appointment) XXX_Size ¶
func (m *Appointment) XXX_Size() int
func (*Appointment) XXX_Unmarshal ¶
func (m *Appointment) XXX_Unmarshal(b []byte) error
type CUPClient ¶
type CUPClient interface { GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) SetUser(ctx context.Context, in *SetUserRequest, opts ...grpc.CallOption) (*types.Empty, error) SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (CUP_SignInClient, error) SignInRetry(ctx context.Context, in *SignInRetryRequest, opts ...grpc.CallOption) (CUP_SignInRetryClient, error) Timetable(ctx context.Context, in *TimetableRequest, opts ...grpc.CallOption) (*TimetableResponse, error) PendingAppointments(ctx context.Context, in *PendingAppointmentsRequest, opts ...grpc.CallOption) (*PendingAppointmentsResponse, error) Choose(ctx context.Context, in *ChooseRequest, opts ...grpc.CallOption) (*ChooseResponse, error) SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*SearchUsersResponse, error) }
CUPClient is the client API for CUP service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCUPClient ¶
func NewCUPClient(cc *grpc.ClientConn) CUPClient
type CUPServer ¶
type CUPServer interface { GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) SetUser(context.Context, *SetUserRequest) (*types.Empty, error) SignIn(*SignInRequest, CUP_SignInServer) error SignInRetry(*SignInRetryRequest, CUP_SignInRetryServer) error Timetable(context.Context, *TimetableRequest) (*TimetableResponse, error) PendingAppointments(context.Context, *PendingAppointmentsRequest) (*PendingAppointmentsResponse, error) Choose(context.Context, *ChooseRequest) (*ChooseResponse, error) SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error) }
CUPServer is the server API for CUP service.
type CUP_SignInClient ¶
type CUP_SignInClient interface { Recv() (*SignInEvent, error) grpc.ClientStream }
type CUP_SignInRetryClient ¶
type CUP_SignInRetryClient interface { Recv() (*SignInEvent, error) grpc.ClientStream }
type CUP_SignInRetryServer ¶
type CUP_SignInRetryServer interface { Send(*SignInEvent) error grpc.ServerStream }
type CUP_SignInServer ¶
type CUP_SignInServer interface { Send(*SignInEvent) error grpc.ServerStream }
type Choice ¶
type Choice struct { Option *Option `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"` Full bool `protobuf:"varint,2,opt,name=full,proto3" json:"full,omitempty"` InternalId int32 `protobuf:"varint,3,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"` }
func (*Choice) Descriptor ¶
func (*Choice) GetInternalId ¶
func (*Choice) MarshalToSizedBuffer ¶
func (*Choice) ProtoMessage ¶
func (*Choice) ProtoMessage()
func (*Choice) XXX_DiscardUnknown ¶
func (m *Choice) XXX_DiscardUnknown()
func (*Choice) XXX_Marshal ¶
func (*Choice) XXX_Unmarshal ¶
type ChooseRequest ¶
type ChooseRequest struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` InternalId int32 `protobuf:"varint,2,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"` }
func (*ChooseRequest) Descriptor ¶
func (*ChooseRequest) Descriptor() ([]byte, []int)
func (*ChooseRequest) Equal ¶
func (this *ChooseRequest) Equal(that interface{}) bool
func (*ChooseRequest) GetInternalId ¶
func (m *ChooseRequest) GetInternalId() int32
func (*ChooseRequest) GetSession ¶
func (m *ChooseRequest) GetSession() *Session
func (*ChooseRequest) GoString ¶
func (this *ChooseRequest) GoString() string
func (*ChooseRequest) Marshal ¶
func (m *ChooseRequest) Marshal() (dAtA []byte, err error)
func (*ChooseRequest) MarshalToSizedBuffer ¶
func (m *ChooseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChooseRequest) ProtoMessage ¶
func (*ChooseRequest) ProtoMessage()
func (*ChooseRequest) Reset ¶
func (m *ChooseRequest) Reset()
func (*ChooseRequest) Size ¶
func (m *ChooseRequest) Size() (n int)
func (*ChooseRequest) String ¶
func (this *ChooseRequest) String() string
func (*ChooseRequest) Unmarshal ¶
func (m *ChooseRequest) Unmarshal(dAtA []byte) error
func (*ChooseRequest) XXX_DiscardUnknown ¶
func (m *ChooseRequest) XXX_DiscardUnknown()
func (*ChooseRequest) XXX_Marshal ¶
func (m *ChooseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChooseRequest) XXX_Merge ¶
func (m *ChooseRequest) XXX_Merge(src proto.Message)
func (*ChooseRequest) XXX_Size ¶
func (m *ChooseRequest) XXX_Size() int
func (*ChooseRequest) XXX_Unmarshal ¶
func (m *ChooseRequest) XXX_Unmarshal(b []byte) error
type ChooseResponse ¶
type ChooseResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}
func (*ChooseResponse) Descriptor ¶
func (*ChooseResponse) Descriptor() ([]byte, []int)
func (*ChooseResponse) Equal ¶
func (this *ChooseResponse) Equal(that interface{}) bool
func (*ChooseResponse) GetSession ¶
func (m *ChooseResponse) GetSession() *Session
func (*ChooseResponse) GoString ¶
func (this *ChooseResponse) GoString() string
func (*ChooseResponse) Marshal ¶
func (m *ChooseResponse) Marshal() (dAtA []byte, err error)
func (*ChooseResponse) MarshalToSizedBuffer ¶
func (m *ChooseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChooseResponse) ProtoMessage ¶
func (*ChooseResponse) ProtoMessage()
func (*ChooseResponse) Reset ¶
func (m *ChooseResponse) Reset()
func (*ChooseResponse) Size ¶
func (m *ChooseResponse) Size() (n int)
func (*ChooseResponse) String ¶
func (this *ChooseResponse) String() string
func (*ChooseResponse) Unmarshal ¶
func (m *ChooseResponse) Unmarshal(dAtA []byte) error
func (*ChooseResponse) XXX_DiscardUnknown ¶
func (m *ChooseResponse) XXX_DiscardUnknown()
func (*ChooseResponse) XXX_Marshal ¶
func (m *ChooseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChooseResponse) XXX_Merge ¶
func (m *ChooseResponse) XXX_Merge(src proto.Message)
func (*ChooseResponse) XXX_Size ¶
func (m *ChooseResponse) XXX_Size() int
func (*ChooseResponse) XXX_Unmarshal ¶
func (m *ChooseResponse) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct {
TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"`
}
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) Equal ¶
func (this *GetUserRequest) Equal(that interface{}) bool
func (*GetUserRequest) GetTtSessionId ¶
func (m *GetUserRequest) GetTtSessionId() string
func (*GetUserRequest) GoString ¶
func (this *GetUserRequest) GoString() string
func (*GetUserRequest) Marshal ¶
func (m *GetUserRequest) Marshal() (dAtA []byte, err error)
func (*GetUserRequest) MarshalToSizedBuffer ¶
func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) Size ¶
func (m *GetUserRequest) Size() (n int)
func (*GetUserRequest) String ¶
func (this *GetUserRequest) String() string
func (*GetUserRequest) Unmarshal ¶
func (m *GetUserRequest) Unmarshal(dAtA []byte) error
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct {
CupName string `protobuf:"bytes,1,opt,name=cup_name,json=cupName,proto3" json:"cup_name,omitempty"`
}
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) Equal ¶
func (this *GetUserResponse) Equal(that interface{}) bool
func (*GetUserResponse) GetCupName ¶
func (m *GetUserResponse) GetCupName() string
func (*GetUserResponse) GoString ¶
func (this *GetUserResponse) GoString() string
func (*GetUserResponse) Marshal ¶
func (m *GetUserResponse) Marshal() (dAtA []byte, err error)
func (*GetUserResponse) MarshalToSizedBuffer ¶
func (m *GetUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) Size ¶
func (m *GetUserResponse) Size() (n int)
func (*GetUserResponse) String ¶
func (this *GetUserResponse) String() string
func (*GetUserResponse) Unmarshal ¶
func (m *GetUserResponse) Unmarshal(dAtA []byte) error
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (m *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type HistoryOption ¶
type HistoryOption struct { Option *Option `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"` Date *types.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` Slot int32 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"` }
func (*HistoryOption) Descriptor ¶
func (*HistoryOption) Descriptor() ([]byte, []int)
func (*HistoryOption) Equal ¶
func (this *HistoryOption) Equal(that interface{}) bool
func (*HistoryOption) GetDate ¶
func (m *HistoryOption) GetDate() *types.Timestamp
func (*HistoryOption) GetOption ¶
func (m *HistoryOption) GetOption() *Option
func (*HistoryOption) GetSlot ¶
func (m *HistoryOption) GetSlot() int32
func (*HistoryOption) GoString ¶
func (this *HistoryOption) GoString() string
func (*HistoryOption) Marshal ¶
func (m *HistoryOption) Marshal() (dAtA []byte, err error)
func (*HistoryOption) MarshalToSizedBuffer ¶
func (m *HistoryOption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HistoryOption) ProtoMessage ¶
func (*HistoryOption) ProtoMessage()
func (*HistoryOption) Reset ¶
func (m *HistoryOption) Reset()
func (*HistoryOption) Size ¶
func (m *HistoryOption) Size() (n int)
func (*HistoryOption) String ¶
func (this *HistoryOption) String() string
func (*HistoryOption) Unmarshal ¶
func (m *HistoryOption) Unmarshal(dAtA []byte) error
func (*HistoryOption) XXX_DiscardUnknown ¶
func (m *HistoryOption) XXX_DiscardUnknown()
func (*HistoryOption) XXX_Marshal ¶
func (m *HistoryOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryOption) XXX_Merge ¶
func (m *HistoryOption) XXX_Merge(src proto.Message)
func (*HistoryOption) XXX_Size ¶
func (m *HistoryOption) XXX_Size() int
func (*HistoryOption) XXX_Unmarshal ¶
func (m *HistoryOption) XXX_Unmarshal(b []byte) error
type Option ¶
type Option struct { Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` AvailablePlaces int32 `protobuf:"varint,3,opt,name=available_places,json=availablePlaces,proto3" json:"available_places,omitempty"` }
func (*Option) Descriptor ¶
func (*Option) GetAvailablePlaces ¶
func (*Option) MarshalToSizedBuffer ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) XXX_DiscardUnknown ¶
func (m *Option) XXX_DiscardUnknown()
func (*Option) XXX_Marshal ¶
func (*Option) XXX_Unmarshal ¶
type PendingAppointmentsRequest ¶
type PendingAppointmentsRequest struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}
func (*PendingAppointmentsRequest) Descriptor ¶
func (*PendingAppointmentsRequest) Descriptor() ([]byte, []int)
func (*PendingAppointmentsRequest) Equal ¶
func (this *PendingAppointmentsRequest) Equal(that interface{}) bool
func (*PendingAppointmentsRequest) GetSession ¶
func (m *PendingAppointmentsRequest) GetSession() *Session
func (*PendingAppointmentsRequest) GoString ¶
func (this *PendingAppointmentsRequest) GoString() string
func (*PendingAppointmentsRequest) Marshal ¶
func (m *PendingAppointmentsRequest) Marshal() (dAtA []byte, err error)
func (*PendingAppointmentsRequest) MarshalTo ¶
func (m *PendingAppointmentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*PendingAppointmentsRequest) MarshalToSizedBuffer ¶
func (m *PendingAppointmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PendingAppointmentsRequest) ProtoMessage ¶
func (*PendingAppointmentsRequest) ProtoMessage()
func (*PendingAppointmentsRequest) Reset ¶
func (m *PendingAppointmentsRequest) Reset()
func (*PendingAppointmentsRequest) Size ¶
func (m *PendingAppointmentsRequest) Size() (n int)
func (*PendingAppointmentsRequest) String ¶
func (this *PendingAppointmentsRequest) String() string
func (*PendingAppointmentsRequest) Unmarshal ¶
func (m *PendingAppointmentsRequest) Unmarshal(dAtA []byte) error
func (*PendingAppointmentsRequest) XXX_DiscardUnknown ¶
func (m *PendingAppointmentsRequest) XXX_DiscardUnknown()
func (*PendingAppointmentsRequest) XXX_Marshal ¶
func (m *PendingAppointmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingAppointmentsRequest) XXX_Merge ¶
func (m *PendingAppointmentsRequest) XXX_Merge(src proto.Message)
func (*PendingAppointmentsRequest) XXX_Size ¶
func (m *PendingAppointmentsRequest) XXX_Size() int
func (*PendingAppointmentsRequest) XXX_Unmarshal ¶
func (m *PendingAppointmentsRequest) XXX_Unmarshal(b []byte) error
type PendingAppointmentsResponse ¶
type PendingAppointmentsResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Appointments []*Appointment `protobuf:"bytes,2,rep,name=appointments,proto3" json:"appointments,omitempty"` }
func (*PendingAppointmentsResponse) Descriptor ¶
func (*PendingAppointmentsResponse) Descriptor() ([]byte, []int)
func (*PendingAppointmentsResponse) Equal ¶
func (this *PendingAppointmentsResponse) Equal(that interface{}) bool
func (*PendingAppointmentsResponse) GetAppointments ¶
func (m *PendingAppointmentsResponse) GetAppointments() []*Appointment
func (*PendingAppointmentsResponse) GetSession ¶
func (m *PendingAppointmentsResponse) GetSession() *Session
func (*PendingAppointmentsResponse) GoString ¶
func (this *PendingAppointmentsResponse) GoString() string
func (*PendingAppointmentsResponse) Marshal ¶
func (m *PendingAppointmentsResponse) Marshal() (dAtA []byte, err error)
func (*PendingAppointmentsResponse) MarshalTo ¶
func (m *PendingAppointmentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*PendingAppointmentsResponse) MarshalToSizedBuffer ¶
func (m *PendingAppointmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PendingAppointmentsResponse) ProtoMessage ¶
func (*PendingAppointmentsResponse) ProtoMessage()
func (*PendingAppointmentsResponse) Reset ¶
func (m *PendingAppointmentsResponse) Reset()
func (*PendingAppointmentsResponse) Size ¶
func (m *PendingAppointmentsResponse) Size() (n int)
func (*PendingAppointmentsResponse) String ¶
func (this *PendingAppointmentsResponse) String() string
func (*PendingAppointmentsResponse) Unmarshal ¶
func (m *PendingAppointmentsResponse) Unmarshal(dAtA []byte) error
func (*PendingAppointmentsResponse) XXX_DiscardUnknown ¶
func (m *PendingAppointmentsResponse) XXX_DiscardUnknown()
func (*PendingAppointmentsResponse) XXX_Marshal ¶
func (m *PendingAppointmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingAppointmentsResponse) XXX_Merge ¶
func (m *PendingAppointmentsResponse) XXX_Merge(src proto.Message)
func (*PendingAppointmentsResponse) XXX_Size ¶
func (m *PendingAppointmentsResponse) XXX_Size() int
func (*PendingAppointmentsResponse) XXX_Unmarshal ¶
func (m *PendingAppointmentsResponse) XXX_Unmarshal(b []byte) error
type SearchUsersRequest ¶
type SearchUsersRequest struct {
FirstLetters string `protobuf:"bytes,1,opt,name=first_letters,json=firstLetters,proto3" json:"first_letters,omitempty"`
}
func (*SearchUsersRequest) Descriptor ¶
func (*SearchUsersRequest) Descriptor() ([]byte, []int)
func (*SearchUsersRequest) Equal ¶
func (this *SearchUsersRequest) Equal(that interface{}) bool
func (*SearchUsersRequest) GetFirstLetters ¶
func (m *SearchUsersRequest) GetFirstLetters() string
func (*SearchUsersRequest) GoString ¶
func (this *SearchUsersRequest) GoString() string
func (*SearchUsersRequest) Marshal ¶
func (m *SearchUsersRequest) Marshal() (dAtA []byte, err error)
func (*SearchUsersRequest) MarshalTo ¶
func (m *SearchUsersRequest) MarshalTo(dAtA []byte) (int, error)
func (*SearchUsersRequest) MarshalToSizedBuffer ¶
func (m *SearchUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SearchUsersRequest) ProtoMessage ¶
func (*SearchUsersRequest) ProtoMessage()
func (*SearchUsersRequest) Reset ¶
func (m *SearchUsersRequest) Reset()
func (*SearchUsersRequest) Size ¶
func (m *SearchUsersRequest) Size() (n int)
func (*SearchUsersRequest) String ¶
func (this *SearchUsersRequest) String() string
func (*SearchUsersRequest) Unmarshal ¶
func (m *SearchUsersRequest) Unmarshal(dAtA []byte) error
func (*SearchUsersRequest) XXX_DiscardUnknown ¶
func (m *SearchUsersRequest) XXX_DiscardUnknown()
func (*SearchUsersRequest) XXX_Marshal ¶
func (m *SearchUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchUsersRequest) XXX_Merge ¶
func (m *SearchUsersRequest) XXX_Merge(src proto.Message)
func (*SearchUsersRequest) XXX_Size ¶
func (m *SearchUsersRequest) XXX_Size() int
func (*SearchUsersRequest) XXX_Unmarshal ¶
func (m *SearchUsersRequest) XXX_Unmarshal(b []byte) error
type SearchUsersResponse ¶
type SearchUsersResponse struct {
Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
}
func (*SearchUsersResponse) Descriptor ¶
func (*SearchUsersResponse) Descriptor() ([]byte, []int)
func (*SearchUsersResponse) Equal ¶
func (this *SearchUsersResponse) Equal(that interface{}) bool
func (*SearchUsersResponse) GetUsers ¶
func (m *SearchUsersResponse) GetUsers() []string
func (*SearchUsersResponse) GoString ¶
func (this *SearchUsersResponse) GoString() string
func (*SearchUsersResponse) Marshal ¶
func (m *SearchUsersResponse) Marshal() (dAtA []byte, err error)
func (*SearchUsersResponse) MarshalTo ¶
func (m *SearchUsersResponse) MarshalTo(dAtA []byte) (int, error)
func (*SearchUsersResponse) MarshalToSizedBuffer ¶
func (m *SearchUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SearchUsersResponse) ProtoMessage ¶
func (*SearchUsersResponse) ProtoMessage()
func (*SearchUsersResponse) Reset ¶
func (m *SearchUsersResponse) Reset()
func (*SearchUsersResponse) Size ¶
func (m *SearchUsersResponse) Size() (n int)
func (*SearchUsersResponse) String ¶
func (this *SearchUsersResponse) String() string
func (*SearchUsersResponse) Unmarshal ¶
func (m *SearchUsersResponse) Unmarshal(dAtA []byte) error
func (*SearchUsersResponse) XXX_DiscardUnknown ¶
func (m *SearchUsersResponse) XXX_DiscardUnknown()
func (*SearchUsersResponse) XXX_Marshal ¶
func (m *SearchUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchUsersResponse) XXX_Merge ¶
func (m *SearchUsersResponse) XXX_Merge(src proto.Message)
func (*SearchUsersResponse) XXX_Size ¶
func (m *SearchUsersResponse) XXX_Size() int
func (*SearchUsersResponse) XXX_Unmarshal ¶
func (m *SearchUsersResponse) XXX_Unmarshal(b []byte) error
type Session ¶
type Session struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` AspFields map[string]string `` /* 176-byte string literal not displayed */ ExtraFields map[string]string `` /* 182-byte string literal not displayed */ LastRequest *types.Timestamp `protobuf:"bytes,4,opt,name=last_request,json=lastRequest,proto3" json:"last_request,omitempty"` }
func (*Session) Descriptor ¶
func (*Session) GetAspFields ¶
func (*Session) GetExtraFields ¶
func (*Session) GetLastRequest ¶
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 SetUserRequest ¶
type SetUserRequest struct { TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"` CupName string `protobuf:"bytes,2,opt,name=cup_name,json=cupName,proto3" json:"cup_name,omitempty"` }
func (*SetUserRequest) Descriptor ¶
func (*SetUserRequest) Descriptor() ([]byte, []int)
func (*SetUserRequest) Equal ¶
func (this *SetUserRequest) Equal(that interface{}) bool
func (*SetUserRequest) GetCupName ¶
func (m *SetUserRequest) GetCupName() string
func (*SetUserRequest) GetTtSessionId ¶
func (m *SetUserRequest) GetTtSessionId() string
func (*SetUserRequest) GoString ¶
func (this *SetUserRequest) GoString() string
func (*SetUserRequest) Marshal ¶
func (m *SetUserRequest) Marshal() (dAtA []byte, err error)
func (*SetUserRequest) MarshalToSizedBuffer ¶
func (m *SetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetUserRequest) ProtoMessage ¶
func (*SetUserRequest) ProtoMessage()
func (*SetUserRequest) Reset ¶
func (m *SetUserRequest) Reset()
func (*SetUserRequest) Size ¶
func (m *SetUserRequest) Size() (n int)
func (*SetUserRequest) String ¶
func (this *SetUserRequest) String() string
func (*SetUserRequest) Unmarshal ¶
func (m *SetUserRequest) Unmarshal(dAtA []byte) error
func (*SetUserRequest) XXX_DiscardUnknown ¶
func (m *SetUserRequest) XXX_DiscardUnknown()
func (*SetUserRequest) XXX_Marshal ¶
func (m *SetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserRequest) XXX_Merge ¶
func (m *SetUserRequest) XXX_Merge(src proto.Message)
func (*SetUserRequest) XXX_Size ¶
func (m *SetUserRequest) XXX_Size() int
func (*SetUserRequest) XXX_Unmarshal ¶
func (m *SetUserRequest) XXX_Unmarshal(b []byte) error
type SignInEvent ¶
type SignInEvent struct { Type SignInEventType `protobuf:"varint,1,opt,name=type,proto3,enum=timeterm_cup.SignInEventType" json:"type,omitempty"` Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` SelectedOpt string `protobuf:"bytes,3,opt,name=selected_opt,json=selectedOpt,proto3" json:"selected_opt,omitempty"` }
func (*SignInEvent) Descriptor ¶
func (*SignInEvent) Descriptor() ([]byte, []int)
func (*SignInEvent) Equal ¶
func (this *SignInEvent) Equal(that interface{}) bool
func (*SignInEvent) GetSelectedOpt ¶
func (m *SignInEvent) GetSelectedOpt() string
func (*SignInEvent) GetSession ¶
func (m *SignInEvent) GetSession() *Session
func (*SignInEvent) GetType ¶
func (m *SignInEvent) GetType() SignInEventType
func (*SignInEvent) GoString ¶
func (this *SignInEvent) GoString() string
func (*SignInEvent) Marshal ¶
func (m *SignInEvent) Marshal() (dAtA []byte, err error)
func (*SignInEvent) MarshalToSizedBuffer ¶
func (m *SignInEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignInEvent) ProtoMessage ¶
func (*SignInEvent) ProtoMessage()
func (*SignInEvent) Reset ¶
func (m *SignInEvent) Reset()
func (*SignInEvent) Size ¶
func (m *SignInEvent) Size() (n int)
func (*SignInEvent) String ¶
func (this *SignInEvent) String() string
func (*SignInEvent) Unmarshal ¶
func (m *SignInEvent) Unmarshal(dAtA []byte) error
func (*SignInEvent) XXX_DiscardUnknown ¶
func (m *SignInEvent) XXX_DiscardUnknown()
func (*SignInEvent) XXX_Marshal ¶
func (m *SignInEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignInEvent) XXX_Merge ¶
func (m *SignInEvent) XXX_Merge(src proto.Message)
func (*SignInEvent) XXX_Size ¶
func (m *SignInEvent) XXX_Size() int
func (*SignInEvent) XXX_Unmarshal ¶
func (m *SignInEvent) XXX_Unmarshal(b []byte) error
type SignInEventType ¶
type SignInEventType int32
const ( SE_SEARCHING_NAME SignInEventType = 0 SE_SELECTING_USER SignInEventType = 1 SE_SIGNING_IN SignInEventType = 2 SE_SIGNED_IN SignInEventType = 3 SE_FAILED SignInEventType = 4 )
func (SignInEventType) EnumDescriptor ¶
func (SignInEventType) EnumDescriptor() ([]byte, []int)
func (SignInEventType) String ¶
func (x SignInEventType) String() string
type SignInRequest ¶
type SignInRequest struct { TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"` Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` }
func (*SignInRequest) Descriptor ¶
func (*SignInRequest) Descriptor() ([]byte, []int)
func (*SignInRequest) Equal ¶
func (this *SignInRequest) Equal(that interface{}) bool
func (*SignInRequest) GetPin ¶
func (m *SignInRequest) GetPin() string
func (*SignInRequest) GetTtSessionId ¶
func (m *SignInRequest) GetTtSessionId() string
func (*SignInRequest) GoString ¶
func (this *SignInRequest) GoString() string
func (*SignInRequest) Marshal ¶
func (m *SignInRequest) Marshal() (dAtA []byte, err error)
func (*SignInRequest) MarshalToSizedBuffer ¶
func (m *SignInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) Reset ¶
func (m *SignInRequest) Reset()
func (*SignInRequest) Size ¶
func (m *SignInRequest) Size() (n int)
func (*SignInRequest) String ¶
func (this *SignInRequest) String() string
func (*SignInRequest) Unmarshal ¶
func (m *SignInRequest) Unmarshal(dAtA []byte) error
func (*SignInRequest) XXX_DiscardUnknown ¶
func (m *SignInRequest) XXX_DiscardUnknown()
func (*SignInRequest) XXX_Marshal ¶
func (m *SignInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignInRequest) XXX_Merge ¶
func (m *SignInRequest) XXX_Merge(src proto.Message)
func (*SignInRequest) XXX_Size ¶
func (m *SignInRequest) XXX_Size() int
func (*SignInRequest) XXX_Unmarshal ¶
func (m *SignInRequest) XXX_Unmarshal(b []byte) error
type SignInRetryRequest ¶
type SignInRetryRequest struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` CaptchaText string `protobuf:"bytes,3,opt,name=captcha_text,json=captchaText,proto3" json:"captcha_text,omitempty"` SelectedOpt string `protobuf:"bytes,4,opt,name=selected_opt,json=selectedOpt,proto3" json:"selected_opt,omitempty"` }
func (*SignInRetryRequest) Descriptor ¶
func (*SignInRetryRequest) Descriptor() ([]byte, []int)
func (*SignInRetryRequest) Equal ¶
func (this *SignInRetryRequest) Equal(that interface{}) bool
func (*SignInRetryRequest) GetCaptchaText ¶
func (m *SignInRetryRequest) GetCaptchaText() string
func (*SignInRetryRequest) GetPin ¶
func (m *SignInRetryRequest) GetPin() string
func (*SignInRetryRequest) GetSelectedOpt ¶
func (m *SignInRetryRequest) GetSelectedOpt() string
func (*SignInRetryRequest) GetSession ¶
func (m *SignInRetryRequest) GetSession() *Session
func (*SignInRetryRequest) GoString ¶
func (this *SignInRetryRequest) GoString() string
func (*SignInRetryRequest) Marshal ¶
func (m *SignInRetryRequest) Marshal() (dAtA []byte, err error)
func (*SignInRetryRequest) MarshalTo ¶
func (m *SignInRetryRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignInRetryRequest) MarshalToSizedBuffer ¶
func (m *SignInRetryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignInRetryRequest) ProtoMessage ¶
func (*SignInRetryRequest) ProtoMessage()
func (*SignInRetryRequest) Reset ¶
func (m *SignInRetryRequest) Reset()
func (*SignInRetryRequest) Size ¶
func (m *SignInRetryRequest) Size() (n int)
func (*SignInRetryRequest) String ¶
func (this *SignInRetryRequest) String() string
func (*SignInRetryRequest) Unmarshal ¶
func (m *SignInRetryRequest) Unmarshal(dAtA []byte) error
func (*SignInRetryRequest) XXX_DiscardUnknown ¶
func (m *SignInRetryRequest) XXX_DiscardUnknown()
func (*SignInRetryRequest) XXX_Marshal ¶
func (m *SignInRetryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignInRetryRequest) XXX_Merge ¶
func (m *SignInRetryRequest) XXX_Merge(src proto.Message)
func (*SignInRetryRequest) XXX_Size ¶
func (m *SignInRetryRequest) XXX_Size() int
func (*SignInRetryRequest) XXX_Unmarshal ¶
func (m *SignInRetryRequest) XXX_Unmarshal(b []byte) error
type TimetableRequest ¶
type TimetableRequest struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}
func (*TimetableRequest) Descriptor ¶
func (*TimetableRequest) Descriptor() ([]byte, []int)
func (*TimetableRequest) Equal ¶
func (this *TimetableRequest) Equal(that interface{}) bool
func (*TimetableRequest) GetSession ¶
func (m *TimetableRequest) GetSession() *Session
func (*TimetableRequest) GoString ¶
func (this *TimetableRequest) GoString() string
func (*TimetableRequest) Marshal ¶
func (m *TimetableRequest) Marshal() (dAtA []byte, err error)
func (*TimetableRequest) MarshalToSizedBuffer ¶
func (m *TimetableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimetableRequest) ProtoMessage ¶
func (*TimetableRequest) ProtoMessage()
func (*TimetableRequest) Reset ¶
func (m *TimetableRequest) Reset()
func (*TimetableRequest) Size ¶
func (m *TimetableRequest) Size() (n int)
func (*TimetableRequest) String ¶
func (this *TimetableRequest) String() string
func (*TimetableRequest) Unmarshal ¶
func (m *TimetableRequest) Unmarshal(dAtA []byte) error
func (*TimetableRequest) XXX_DiscardUnknown ¶
func (m *TimetableRequest) XXX_DiscardUnknown()
func (*TimetableRequest) XXX_Marshal ¶
func (m *TimetableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimetableRequest) XXX_Merge ¶
func (m *TimetableRequest) XXX_Merge(src proto.Message)
func (*TimetableRequest) XXX_Size ¶
func (m *TimetableRequest) XXX_Size() int
func (*TimetableRequest) XXX_Unmarshal ¶
func (m *TimetableRequest) XXX_Unmarshal(b []byte) error
type TimetableResponse ¶
type TimetableResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Weeks []*TimetableWeek `protobuf:"bytes,2,rep,name=weeks,proto3" json:"weeks,omitempty"` }
func (*TimetableResponse) Descriptor ¶
func (*TimetableResponse) Descriptor() ([]byte, []int)
func (*TimetableResponse) Equal ¶
func (this *TimetableResponse) Equal(that interface{}) bool
func (*TimetableResponse) GetSession ¶
func (m *TimetableResponse) GetSession() *Session
func (*TimetableResponse) GetWeeks ¶
func (m *TimetableResponse) GetWeeks() []*TimetableWeek
func (*TimetableResponse) GoString ¶
func (this *TimetableResponse) GoString() string
func (*TimetableResponse) Marshal ¶
func (m *TimetableResponse) Marshal() (dAtA []byte, err error)
func (*TimetableResponse) MarshalTo ¶
func (m *TimetableResponse) MarshalTo(dAtA []byte) (int, error)
func (*TimetableResponse) MarshalToSizedBuffer ¶
func (m *TimetableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimetableResponse) ProtoMessage ¶
func (*TimetableResponse) ProtoMessage()
func (*TimetableResponse) Reset ¶
func (m *TimetableResponse) Reset()
func (*TimetableResponse) Size ¶
func (m *TimetableResponse) Size() (n int)
func (*TimetableResponse) String ¶
func (this *TimetableResponse) String() string
func (*TimetableResponse) Unmarshal ¶
func (m *TimetableResponse) Unmarshal(dAtA []byte) error
func (*TimetableResponse) XXX_DiscardUnknown ¶
func (m *TimetableResponse) XXX_DiscardUnknown()
func (*TimetableResponse) XXX_Marshal ¶
func (m *TimetableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimetableResponse) XXX_Merge ¶
func (m *TimetableResponse) XXX_Merge(src proto.Message)
func (*TimetableResponse) XXX_Size ¶
func (m *TimetableResponse) XXX_Size() int
func (*TimetableResponse) XXX_Unmarshal ¶
func (m *TimetableResponse) XXX_Unmarshal(b []byte) error
type TimetableWeek ¶
type TimetableWeek struct { Week int32 `protobuf:"varint,1,opt,name=week,proto3" json:"week,omitempty"` Appointments []*HistoryOption `protobuf:"bytes,2,rep,name=appointments,proto3" json:"appointments,omitempty"` }
func (*TimetableWeek) Descriptor ¶
func (*TimetableWeek) Descriptor() ([]byte, []int)
func (*TimetableWeek) Equal ¶
func (this *TimetableWeek) Equal(that interface{}) bool
func (*TimetableWeek) GetAppointments ¶
func (m *TimetableWeek) GetAppointments() []*HistoryOption
func (*TimetableWeek) GetWeek ¶
func (m *TimetableWeek) GetWeek() int32
func (*TimetableWeek) GoString ¶
func (this *TimetableWeek) GoString() string
func (*TimetableWeek) Marshal ¶
func (m *TimetableWeek) Marshal() (dAtA []byte, err error)
func (*TimetableWeek) MarshalToSizedBuffer ¶
func (m *TimetableWeek) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimetableWeek) ProtoMessage ¶
func (*TimetableWeek) ProtoMessage()
func (*TimetableWeek) Reset ¶
func (m *TimetableWeek) Reset()
func (*TimetableWeek) Size ¶
func (m *TimetableWeek) Size() (n int)
func (*TimetableWeek) String ¶
func (this *TimetableWeek) String() string
func (*TimetableWeek) Unmarshal ¶
func (m *TimetableWeek) Unmarshal(dAtA []byte) error
func (*TimetableWeek) XXX_DiscardUnknown ¶
func (m *TimetableWeek) XXX_DiscardUnknown()
func (*TimetableWeek) XXX_Marshal ¶
func (m *TimetableWeek) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimetableWeek) XXX_Merge ¶
func (m *TimetableWeek) XXX_Merge(src proto.Message)
func (*TimetableWeek) XXX_Size ¶
func (m *TimetableWeek) XXX_Size() int
func (*TimetableWeek) XXX_Unmarshal ¶
func (m *TimetableWeek) XXX_Unmarshal(b []byte) error
type UnimplementedCUPServer ¶
type UnimplementedCUPServer struct { }
UnimplementedCUPServer can be embedded to have forward compatible implementations.
func (*UnimplementedCUPServer) Choose ¶
func (*UnimplementedCUPServer) Choose(ctx context.Context, req *ChooseRequest) (*ChooseResponse, error)
func (*UnimplementedCUPServer) GetUser ¶
func (*UnimplementedCUPServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedCUPServer) PendingAppointments ¶
func (*UnimplementedCUPServer) PendingAppointments(ctx context.Context, req *PendingAppointmentsRequest) (*PendingAppointmentsResponse, error)
func (*UnimplementedCUPServer) SearchUsers ¶
func (*UnimplementedCUPServer) SearchUsers(ctx context.Context, req *SearchUsersRequest) (*SearchUsersResponse, error)
func (*UnimplementedCUPServer) SetUser ¶
func (*UnimplementedCUPServer) SetUser(ctx context.Context, req *SetUserRequest) (*types.Empty, error)
func (*UnimplementedCUPServer) SignIn ¶
func (*UnimplementedCUPServer) SignIn(req *SignInRequest, srv CUP_SignInServer) error
func (*UnimplementedCUPServer) SignInRetry ¶
func (*UnimplementedCUPServer) SignInRetry(req *SignInRetryRequest, srv CUP_SignInRetryServer) error
func (*UnimplementedCUPServer) Timetable ¶
func (*UnimplementedCUPServer) Timetable(ctx context.Context, req *TimetableRequest) (*TimetableResponse, error)
Click to show internal directories.
Click to hide internal directories.