Documentation ¶
Index ¶
- Variables
- func RegisterTimetableServer(s *grpc.Server, srv TimetableServer)
- type Announcement
- func (*Announcement) Descriptor() ([]byte, []int)
- func (this *Announcement) Equal(that interface{}) bool
- func (m *Announcement) GetEnd() *types.Timestamp
- func (m *Announcement) GetId() int64
- func (m *Announcement) GetStart() *types.Timestamp
- func (m *Announcement) GetText() string
- func (m *Announcement) GetTitle() string
- func (this *Announcement) GoString() string
- func (m *Announcement) Marshal() (dAtA []byte, err error)
- func (m *Announcement) MarshalTo(dAtA []byte) (int, error)
- func (m *Announcement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Announcement) ProtoMessage()
- func (m *Announcement) Reset()
- func (m *Announcement) Size() (n int)
- func (this *Announcement) String() string
- func (m *Announcement) Unmarshal(dAtA []byte) error
- func (m *Announcement) XXX_DiscardUnknown()
- func (m *Announcement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Announcement) XXX_Merge(src proto.Message)
- func (m *Announcement) XXX_Size() int
- func (m *Announcement) XXX_Unmarshal(b []byte) error
- type AnnouncementsRequest
- func (*AnnouncementsRequest) Descriptor() ([]byte, []int)
- func (this *AnnouncementsRequest) Equal(that interface{}) bool
- func (m *AnnouncementsRequest) GetCurrent() bool
- func (m *AnnouncementsRequest) GetTtSessionId() string
- func (this *AnnouncementsRequest) GoString() string
- func (m *AnnouncementsRequest) Marshal() (dAtA []byte, err error)
- func (m *AnnouncementsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AnnouncementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnnouncementsRequest) ProtoMessage()
- func (m *AnnouncementsRequest) Reset()
- func (m *AnnouncementsRequest) Size() (n int)
- func (this *AnnouncementsRequest) String() string
- func (m *AnnouncementsRequest) Unmarshal(dAtA []byte) error
- func (m *AnnouncementsRequest) XXX_DiscardUnknown()
- func (m *AnnouncementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnnouncementsRequest) XXX_Merge(src proto.Message)
- func (m *AnnouncementsRequest) XXX_Size() int
- func (m *AnnouncementsRequest) XXX_Unmarshal(b []byte) error
- type AnnouncementsResponse
- func (*AnnouncementsResponse) Descriptor() ([]byte, []int)
- func (this *AnnouncementsResponse) Equal(that interface{}) bool
- func (m *AnnouncementsResponse) GetAnnouncements() []*Announcement
- func (this *AnnouncementsResponse) GoString() string
- func (m *AnnouncementsResponse) Marshal() (dAtA []byte, err error)
- func (m *AnnouncementsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AnnouncementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnnouncementsResponse) ProtoMessage()
- func (m *AnnouncementsResponse) Reset()
- func (m *AnnouncementsResponse) Size() (n int)
- func (this *AnnouncementsResponse) String() string
- func (m *AnnouncementsResponse) Unmarshal(dAtA []byte) error
- func (m *AnnouncementsResponse) XXX_DiscardUnknown()
- func (m *AnnouncementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnnouncementsResponse) XXX_Merge(src proto.Message)
- func (m *AnnouncementsResponse) XXX_Size() int
- func (m *AnnouncementsResponse) XXX_Unmarshal(b []byte) error
- type Appointment
- func (*Appointment) Descriptor() ([]byte, []int)
- func (this *Appointment) Equal(that interface{}) bool
- func (m *Appointment) GetAppointmentInstance() int64
- func (m *Appointment) GetCanceled() bool
- func (m *Appointment) GetChangeDescription() string
- func (m *Appointment) GetCreated() *types.Timestamp
- func (m *Appointment) GetEnd() *types.Timestamp
- func (m *Appointment) GetEndTimeSlot() int32
- func (m *Appointment) GetGroups() []string
- func (m *Appointment) GetHidden() bool
- func (m *Appointment) GetId() int64
- func (m *Appointment) GetLastModified() *types.Timestamp
- func (m *Appointment) GetLocations() []string
- func (m *Appointment) GetModified() bool
- func (m *Appointment) GetMoved() bool
- func (m *Appointment) GetNew() bool
- func (m *Appointment) GetRemark() string
- func (m *Appointment) GetStart() *types.Timestamp
- func (m *Appointment) GetStartTimeSlot() int32
- func (m *Appointment) GetSubjects() []string
- func (m *Appointment) GetTeachers() []string
- func (m *Appointment) GetType() string
- func (m *Appointment) GetValid() bool
- 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 AppointmentsRequest
- func (*AppointmentsRequest) Descriptor() ([]byte, []int)
- func (this *AppointmentsRequest) Equal(that interface{}) bool
- func (m *AppointmentsRequest) GetEnd() *types.Timestamp
- func (m *AppointmentsRequest) GetStart() *types.Timestamp
- func (m *AppointmentsRequest) GetTtSessionId() string
- func (this *AppointmentsRequest) GoString() string
- func (m *AppointmentsRequest) Marshal() (dAtA []byte, err error)
- func (m *AppointmentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AppointmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AppointmentsRequest) ProtoMessage()
- func (m *AppointmentsRequest) Reset()
- func (m *AppointmentsRequest) Size() (n int)
- func (this *AppointmentsRequest) String() string
- func (m *AppointmentsRequest) Unmarshal(dAtA []byte) error
- func (m *AppointmentsRequest) XXX_DiscardUnknown()
- func (m *AppointmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppointmentsRequest) XXX_Merge(src proto.Message)
- func (m *AppointmentsRequest) XXX_Size() int
- func (m *AppointmentsRequest) XXX_Unmarshal(b []byte) error
- type AppointmentsResponse
- func (*AppointmentsResponse) Descriptor() ([]byte, []int)
- func (this *AppointmentsResponse) Equal(that interface{}) bool
- func (m *AppointmentsResponse) GetAppointments() []*Appointment
- func (this *AppointmentsResponse) GoString() string
- func (m *AppointmentsResponse) Marshal() (dAtA []byte, err error)
- func (m *AppointmentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AppointmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AppointmentsResponse) ProtoMessage()
- func (m *AppointmentsResponse) Reset()
- func (m *AppointmentsResponse) Size() (n int)
- func (this *AppointmentsResponse) String() string
- func (m *AppointmentsResponse) Unmarshal(dAtA []byte) error
- func (m *AppointmentsResponse) XXX_DiscardUnknown()
- func (m *AppointmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppointmentsResponse) XXX_Merge(src proto.Message)
- func (m *AppointmentsResponse) XXX_Size() int
- func (m *AppointmentsResponse) XXX_Unmarshal(b []byte) error
- type TimetableClient
- type TimetableServer
- type UnimplementedTimetableServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTimetable = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTimetable = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterTimetableServer ¶
func RegisterTimetableServer(s *grpc.Server, srv TimetableServer)
Types ¶
type Announcement ¶
type Announcement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Start *types.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End *types.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"` }
func (*Announcement) Descriptor ¶
func (*Announcement) Descriptor() ([]byte, []int)
func (*Announcement) Equal ¶
func (this *Announcement) Equal(that interface{}) bool
func (*Announcement) GetEnd ¶
func (m *Announcement) GetEnd() *types.Timestamp
func (*Announcement) GetId ¶
func (m *Announcement) GetId() int64
func (*Announcement) GetStart ¶
func (m *Announcement) GetStart() *types.Timestamp
func (*Announcement) GetText ¶
func (m *Announcement) GetText() string
func (*Announcement) GetTitle ¶
func (m *Announcement) GetTitle() string
func (*Announcement) GoString ¶
func (this *Announcement) GoString() string
func (*Announcement) Marshal ¶
func (m *Announcement) Marshal() (dAtA []byte, err error)
func (*Announcement) MarshalToSizedBuffer ¶
func (m *Announcement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Announcement) ProtoMessage ¶
func (*Announcement) ProtoMessage()
func (*Announcement) Reset ¶
func (m *Announcement) Reset()
func (*Announcement) Size ¶
func (m *Announcement) Size() (n int)
func (*Announcement) String ¶
func (this *Announcement) String() string
func (*Announcement) Unmarshal ¶
func (m *Announcement) Unmarshal(dAtA []byte) error
func (*Announcement) XXX_DiscardUnknown ¶
func (m *Announcement) XXX_DiscardUnknown()
func (*Announcement) XXX_Marshal ¶
func (m *Announcement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Announcement) XXX_Merge ¶
func (m *Announcement) XXX_Merge(src proto.Message)
func (*Announcement) XXX_Size ¶
func (m *Announcement) XXX_Size() int
func (*Announcement) XXX_Unmarshal ¶
func (m *Announcement) XXX_Unmarshal(b []byte) error
type AnnouncementsRequest ¶
type AnnouncementsRequest struct { Current bool `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` TtSessionId string `protobuf:"bytes,2,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"` }
func (*AnnouncementsRequest) Descriptor ¶
func (*AnnouncementsRequest) Descriptor() ([]byte, []int)
func (*AnnouncementsRequest) Equal ¶
func (this *AnnouncementsRequest) Equal(that interface{}) bool
func (*AnnouncementsRequest) GetCurrent ¶
func (m *AnnouncementsRequest) GetCurrent() bool
func (*AnnouncementsRequest) GetTtSessionId ¶
func (m *AnnouncementsRequest) GetTtSessionId() string
func (*AnnouncementsRequest) GoString ¶
func (this *AnnouncementsRequest) GoString() string
func (*AnnouncementsRequest) Marshal ¶
func (m *AnnouncementsRequest) Marshal() (dAtA []byte, err error)
func (*AnnouncementsRequest) MarshalTo ¶
func (m *AnnouncementsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AnnouncementsRequest) MarshalToSizedBuffer ¶
func (m *AnnouncementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnnouncementsRequest) ProtoMessage ¶
func (*AnnouncementsRequest) ProtoMessage()
func (*AnnouncementsRequest) Reset ¶
func (m *AnnouncementsRequest) Reset()
func (*AnnouncementsRequest) Size ¶
func (m *AnnouncementsRequest) Size() (n int)
func (*AnnouncementsRequest) String ¶
func (this *AnnouncementsRequest) String() string
func (*AnnouncementsRequest) Unmarshal ¶
func (m *AnnouncementsRequest) Unmarshal(dAtA []byte) error
func (*AnnouncementsRequest) XXX_DiscardUnknown ¶
func (m *AnnouncementsRequest) XXX_DiscardUnknown()
func (*AnnouncementsRequest) XXX_Marshal ¶
func (m *AnnouncementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnnouncementsRequest) XXX_Merge ¶
func (m *AnnouncementsRequest) XXX_Merge(src proto.Message)
func (*AnnouncementsRequest) XXX_Size ¶
func (m *AnnouncementsRequest) XXX_Size() int
func (*AnnouncementsRequest) XXX_Unmarshal ¶
func (m *AnnouncementsRequest) XXX_Unmarshal(b []byte) error
type AnnouncementsResponse ¶
type AnnouncementsResponse struct {
Announcements []*Announcement `protobuf:"bytes,1,rep,name=announcements,proto3" json:"announcements,omitempty"`
}
func (*AnnouncementsResponse) Descriptor ¶
func (*AnnouncementsResponse) Descriptor() ([]byte, []int)
func (*AnnouncementsResponse) Equal ¶
func (this *AnnouncementsResponse) Equal(that interface{}) bool
func (*AnnouncementsResponse) GetAnnouncements ¶
func (m *AnnouncementsResponse) GetAnnouncements() []*Announcement
func (*AnnouncementsResponse) GoString ¶
func (this *AnnouncementsResponse) GoString() string
func (*AnnouncementsResponse) Marshal ¶
func (m *AnnouncementsResponse) Marshal() (dAtA []byte, err error)
func (*AnnouncementsResponse) MarshalTo ¶
func (m *AnnouncementsResponse) MarshalTo(dAtA []byte) (int, error)
func (*AnnouncementsResponse) MarshalToSizedBuffer ¶
func (m *AnnouncementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnnouncementsResponse) ProtoMessage ¶
func (*AnnouncementsResponse) ProtoMessage()
func (*AnnouncementsResponse) Reset ¶
func (m *AnnouncementsResponse) Reset()
func (*AnnouncementsResponse) Size ¶
func (m *AnnouncementsResponse) Size() (n int)
func (*AnnouncementsResponse) String ¶
func (this *AnnouncementsResponse) String() string
func (*AnnouncementsResponse) Unmarshal ¶
func (m *AnnouncementsResponse) Unmarshal(dAtA []byte) error
func (*AnnouncementsResponse) XXX_DiscardUnknown ¶
func (m *AnnouncementsResponse) XXX_DiscardUnknown()
func (*AnnouncementsResponse) XXX_Marshal ¶
func (m *AnnouncementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnnouncementsResponse) XXX_Merge ¶
func (m *AnnouncementsResponse) XXX_Merge(src proto.Message)
func (*AnnouncementsResponse) XXX_Size ¶
func (m *AnnouncementsResponse) XXX_Size() int
func (*AnnouncementsResponse) XXX_Unmarshal ¶
func (m *AnnouncementsResponse) XXX_Unmarshal(b []byte) error
type Appointment ¶
type Appointment struct { AppointmentInstance int64 `protobuf:"varint,1,opt,name=appointment_instance,json=appointmentInstance,proto3" json:"appointment_instance,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Start *types.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` End *types.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` Created *types.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` LastModified *types.Timestamp `protobuf:"bytes,6,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` ChangeDescription string `protobuf:"bytes,7,opt,name=change_description,json=changeDescription,proto3" json:"change_description,omitempty"` StartTimeSlot int32 `protobuf:"varint,8,opt,name=start_time_slot,json=startTimeSlot,proto3" json:"start_time_slot,omitempty"` EndTimeSlot int32 `protobuf:"varint,9,opt,name=end_time_slot,json=endTimeSlot,proto3" json:"end_time_slot,omitempty"` Subjects []string `protobuf:"bytes,10,rep,name=subjects,proto3" json:"subjects,omitempty"` Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` Remark string `protobuf:"bytes,12,opt,name=remark,proto3" json:"remark,omitempty"` Valid bool `protobuf:"varint,13,opt,name=valid,proto3" json:"valid,omitempty"` Hidden bool `protobuf:"varint,14,opt,name=hidden,proto3" json:"hidden,omitempty"` Canceled bool `protobuf:"varint,15,opt,name=canceled,proto3" json:"canceled,omitempty"` Modified bool `protobuf:"varint,16,opt,name=modified,proto3" json:"modified,omitempty"` Moved bool `protobuf:"varint,17,opt,name=moved,proto3" json:"moved,omitempty"` New bool `protobuf:"varint,18,opt,name=new,proto3" json:"new,omitempty"` Locations []string `protobuf:"bytes,19,rep,name=locations,proto3" json:"locations,omitempty"` Teachers []string `protobuf:"bytes,20,rep,name=teachers,proto3" json:"teachers,omitempty"` Groups []string `protobuf:"bytes,21,rep,name=groups,proto3" json:"groups,omitempty"` }
func (*Appointment) Descriptor ¶
func (*Appointment) Descriptor() ([]byte, []int)
func (*Appointment) Equal ¶
func (this *Appointment) Equal(that interface{}) bool
func (*Appointment) GetAppointmentInstance ¶
func (m *Appointment) GetAppointmentInstance() int64
func (*Appointment) GetCanceled ¶
func (m *Appointment) GetCanceled() bool
func (*Appointment) GetChangeDescription ¶
func (m *Appointment) GetChangeDescription() string
func (*Appointment) GetCreated ¶
func (m *Appointment) GetCreated() *types.Timestamp
func (*Appointment) GetEnd ¶
func (m *Appointment) GetEnd() *types.Timestamp
func (*Appointment) GetEndTimeSlot ¶
func (m *Appointment) GetEndTimeSlot() int32
func (*Appointment) GetGroups ¶
func (m *Appointment) GetGroups() []string
func (*Appointment) GetHidden ¶
func (m *Appointment) GetHidden() bool
func (*Appointment) GetId ¶
func (m *Appointment) GetId() int64
func (*Appointment) GetLastModified ¶
func (m *Appointment) GetLastModified() *types.Timestamp
func (*Appointment) GetLocations ¶
func (m *Appointment) GetLocations() []string
func (*Appointment) GetModified ¶
func (m *Appointment) GetModified() bool
func (*Appointment) GetMoved ¶
func (m *Appointment) GetMoved() bool
func (*Appointment) GetNew ¶
func (m *Appointment) GetNew() bool
func (*Appointment) GetRemark ¶
func (m *Appointment) GetRemark() string
func (*Appointment) GetStart ¶
func (m *Appointment) GetStart() *types.Timestamp
func (*Appointment) GetStartTimeSlot ¶
func (m *Appointment) GetStartTimeSlot() int32
func (*Appointment) GetSubjects ¶
func (m *Appointment) GetSubjects() []string
func (*Appointment) GetTeachers ¶
func (m *Appointment) GetTeachers() []string
func (*Appointment) GetType ¶
func (m *Appointment) GetType() string
func (*Appointment) GetValid ¶
func (m *Appointment) GetValid() bool
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 AppointmentsRequest ¶
type AppointmentsRequest struct { Start *types.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End *types.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` TtSessionId string `protobuf:"bytes,3,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"` }
func (*AppointmentsRequest) Descriptor ¶
func (*AppointmentsRequest) Descriptor() ([]byte, []int)
func (*AppointmentsRequest) Equal ¶
func (this *AppointmentsRequest) Equal(that interface{}) bool
func (*AppointmentsRequest) GetEnd ¶
func (m *AppointmentsRequest) GetEnd() *types.Timestamp
func (*AppointmentsRequest) GetStart ¶
func (m *AppointmentsRequest) GetStart() *types.Timestamp
func (*AppointmentsRequest) GetTtSessionId ¶
func (m *AppointmentsRequest) GetTtSessionId() string
func (*AppointmentsRequest) GoString ¶
func (this *AppointmentsRequest) GoString() string
func (*AppointmentsRequest) Marshal ¶
func (m *AppointmentsRequest) Marshal() (dAtA []byte, err error)
func (*AppointmentsRequest) MarshalTo ¶
func (m *AppointmentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AppointmentsRequest) MarshalToSizedBuffer ¶
func (m *AppointmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AppointmentsRequest) ProtoMessage ¶
func (*AppointmentsRequest) ProtoMessage()
func (*AppointmentsRequest) Reset ¶
func (m *AppointmentsRequest) Reset()
func (*AppointmentsRequest) Size ¶
func (m *AppointmentsRequest) Size() (n int)
func (*AppointmentsRequest) String ¶
func (this *AppointmentsRequest) String() string
func (*AppointmentsRequest) Unmarshal ¶
func (m *AppointmentsRequest) Unmarshal(dAtA []byte) error
func (*AppointmentsRequest) XXX_DiscardUnknown ¶
func (m *AppointmentsRequest) XXX_DiscardUnknown()
func (*AppointmentsRequest) XXX_Marshal ¶
func (m *AppointmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppointmentsRequest) XXX_Merge ¶
func (m *AppointmentsRequest) XXX_Merge(src proto.Message)
func (*AppointmentsRequest) XXX_Size ¶
func (m *AppointmentsRequest) XXX_Size() int
func (*AppointmentsRequest) XXX_Unmarshal ¶
func (m *AppointmentsRequest) XXX_Unmarshal(b []byte) error
type AppointmentsResponse ¶
type AppointmentsResponse struct {
Appointments []*Appointment `protobuf:"bytes,1,rep,name=appointments,proto3" json:"appointments,omitempty"`
}
func (*AppointmentsResponse) Descriptor ¶
func (*AppointmentsResponse) Descriptor() ([]byte, []int)
func (*AppointmentsResponse) Equal ¶
func (this *AppointmentsResponse) Equal(that interface{}) bool
func (*AppointmentsResponse) GetAppointments ¶
func (m *AppointmentsResponse) GetAppointments() []*Appointment
func (*AppointmentsResponse) GoString ¶
func (this *AppointmentsResponse) GoString() string
func (*AppointmentsResponse) Marshal ¶
func (m *AppointmentsResponse) Marshal() (dAtA []byte, err error)
func (*AppointmentsResponse) MarshalTo ¶
func (m *AppointmentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*AppointmentsResponse) MarshalToSizedBuffer ¶
func (m *AppointmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AppointmentsResponse) ProtoMessage ¶
func (*AppointmentsResponse) ProtoMessage()
func (*AppointmentsResponse) Reset ¶
func (m *AppointmentsResponse) Reset()
func (*AppointmentsResponse) Size ¶
func (m *AppointmentsResponse) Size() (n int)
func (*AppointmentsResponse) String ¶
func (this *AppointmentsResponse) String() string
func (*AppointmentsResponse) Unmarshal ¶
func (m *AppointmentsResponse) Unmarshal(dAtA []byte) error
func (*AppointmentsResponse) XXX_DiscardUnknown ¶
func (m *AppointmentsResponse) XXX_DiscardUnknown()
func (*AppointmentsResponse) XXX_Marshal ¶
func (m *AppointmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppointmentsResponse) XXX_Merge ¶
func (m *AppointmentsResponse) XXX_Merge(src proto.Message)
func (*AppointmentsResponse) XXX_Size ¶
func (m *AppointmentsResponse) XXX_Size() int
func (*AppointmentsResponse) XXX_Unmarshal ¶
func (m *AppointmentsResponse) XXX_Unmarshal(b []byte) error
type TimetableClient ¶
type TimetableClient interface { Announcements(ctx context.Context, in *AnnouncementsRequest, opts ...grpc.CallOption) (*AnnouncementsResponse, error) Appointments(ctx context.Context, in *AppointmentsRequest, opts ...grpc.CallOption) (*AppointmentsResponse, error) }
TimetableClient is the client API for Timetable service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTimetableClient ¶
func NewTimetableClient(cc *grpc.ClientConn) TimetableClient
type TimetableServer ¶
type TimetableServer interface { Announcements(context.Context, *AnnouncementsRequest) (*AnnouncementsResponse, error) Appointments(context.Context, *AppointmentsRequest) (*AppointmentsResponse, error) }
TimetableServer is the server API for Timetable service.
type UnimplementedTimetableServer ¶
type UnimplementedTimetableServer struct { }
UnimplementedTimetableServer can be embedded to have forward compatible implementations.
func (*UnimplementedTimetableServer) Announcements ¶
func (*UnimplementedTimetableServer) Announcements(ctx context.Context, req *AnnouncementsRequest) (*AnnouncementsResponse, error)
func (*UnimplementedTimetableServer) Appointments ¶
func (*UnimplementedTimetableServer) Appointments(ctx context.Context, req *AppointmentsRequest) (*AppointmentsResponse, error)
Click to show internal directories.
Click to hide internal directories.