protocol

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_course_proto protoreflect.FileDescriptor
View Source
var File_events_upcoming_proto protoreflect.FileDescriptor
View Source
var File_timestamp_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Course

type Course struct {
	Id        int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fullname  string `protobuf:"bytes,2,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Shortname string `protobuf:"bytes,3,opt,name=shortname,proto3" json:"shortname,omitempty"`
	Viewurl   string `protobuf:"bytes,4,opt,name=viewurl,proto3" json:"viewurl,omitempty"`
	// contains filtered or unexported fields
}

func (*Course) Descriptor deprecated

func (*Course) Descriptor() ([]byte, []int)

Deprecated: Use Course.ProtoReflect.Descriptor instead.

func (*Course) GetFullname

func (x *Course) GetFullname() string

func (*Course) GetId

func (x *Course) GetId() int32

func (*Course) GetShortname

func (x *Course) GetShortname() string

func (*Course) GetViewurl

func (x *Course) GetViewurl() string

func (*Course) ProtoMessage

func (*Course) ProtoMessage()

func (*Course) ProtoReflect

func (x *Course) ProtoReflect() protoreflect.Message

func (*Course) Reset

func (x *Course) Reset()

func (*Course) String

func (x *Course) String() string

type Timestamp

type Timestamp struct {

	// The number of seconds since the Unix epoch.
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

The timestamp message is used to represent a point in time. It is represented as the number of seconds since the Unix epoch.

func (*Timestamp) Descriptor deprecated

func (*Timestamp) Descriptor() ([]byte, []int)

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() int64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

func (x *Timestamp) ProtoReflect() protoreflect.Message

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

type UpcomingEvent

type UpcomingEvent struct {
	Id           int32      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Userid       int32      `protobuf:"varint,2,opt,name=userid,proto3" json:"userid,omitempty"`
	Timestart    *Timestamp `protobuf:"bytes,3,opt,name=timestart,proto3" json:"timestart,omitempty"` // due date
	Activityname string     `protobuf:"bytes,4,opt,name=activityname,proto3" json:"activityname,omitempty"`
	Course       *Course    `protobuf:"bytes,5,opt,name=course,proto3" json:"course,omitempty"`
	// contains filtered or unexported fields
}

func (*UpcomingEvent) Descriptor deprecated

func (*UpcomingEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpcomingEvent.ProtoReflect.Descriptor instead.

func (*UpcomingEvent) GetActivityname

func (x *UpcomingEvent) GetActivityname() string

func (*UpcomingEvent) GetCourse

func (x *UpcomingEvent) GetCourse() *Course

func (*UpcomingEvent) GetId

func (x *UpcomingEvent) GetId() int32

func (*UpcomingEvent) GetTimestart added in v1.0.0

func (x *UpcomingEvent) GetTimestart() *Timestamp

func (*UpcomingEvent) GetUserid

func (x *UpcomingEvent) GetUserid() int32

func (*UpcomingEvent) ProtoMessage

func (*UpcomingEvent) ProtoMessage()

func (*UpcomingEvent) ProtoReflect

func (x *UpcomingEvent) ProtoReflect() protoreflect.Message

func (*UpcomingEvent) Reset

func (x *UpcomingEvent) Reset()

func (*UpcomingEvent) String

func (x *UpcomingEvent) String() string

type UpcomingEventList

type UpcomingEventList struct {
	Events []*UpcomingEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*UpcomingEventList) Descriptor deprecated

func (*UpcomingEventList) Descriptor() ([]byte, []int)

Deprecated: Use UpcomingEventList.ProtoReflect.Descriptor instead.

func (*UpcomingEventList) GetEvents

func (x *UpcomingEventList) GetEvents() []*UpcomingEvent

func (*UpcomingEventList) ProtoMessage

func (*UpcomingEventList) ProtoMessage()

func (*UpcomingEventList) ProtoReflect

func (x *UpcomingEventList) ProtoReflect() protoreflect.Message

func (*UpcomingEventList) Reset

func (x *UpcomingEventList) Reset()

func (*UpcomingEventList) String

func (x *UpcomingEventList) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL