Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
It is generated from these files:
bolt/internal/internal.proto
It has these top-level messages:
Student Course
Index ¶
- Variables
- func MarshalCourse(s *envy.Course) ([]byte, error)
- func MarshalStudent(s *envy.Student) ([]byte, error)
- func UnmarshalCourse(data []byte, d *envy.Course) error
- func UnmarshalStudent(data []byte, d *envy.Student) error
- type Course
- func (*Course) Descriptor() ([]byte, []int)
- func (this *Course) Equal(that interface{}) bool
- func (m *Course) GetDescription() string
- func (m *Course) GetID() int64
- func (m *Course) GetInstructor() string
- func (m *Course) GetInstructorEmail() string
- func (m *Course) GetName() string
- func (this *Course) GoString() string
- func (m *Course) Marshal() (data []byte, err error)
- func (m *Course) MarshalTo(data []byte) (int, error)
- func (*Course) ProtoMessage()
- func (m *Course) Reset()
- func (m *Course) Size() (n int)
- func (this *Course) String() string
- func (m *Course) Unmarshal(data []byte) error
- func (this *Course) VerboseEqual(that interface{}) error
- type Student
- func (*Student) Descriptor() ([]byte, []int)
- func (this *Student) Equal(that interface{}) bool
- func (m *Student) GetCourses() []*Course
- func (m *Student) GetEmail() string
- func (m *Student) GetFullName() string
- func (m *Student) GetHomeDirectory() string
- func (m *Student) GetPassword() string
- func (m *Student) GetUID() int64
- func (m *Student) GetUsername() string
- func (this *Student) GoString() string
- func (m *Student) Marshal() (data []byte, err error)
- func (m *Student) MarshalTo(data []byte) (int, error)
- func (*Student) ProtoMessage()
- func (m *Student) Reset()
- func (m *Student) Size() (n int)
- func (this *Student) String() string
- func (m *Student) Unmarshal(data []byte) error
- func (this *Student) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthInternal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInternal = fmt.Errorf("proto: integer overflow") )
Functions ¶
Types ¶
type Course ¶
type Course struct { ID *int64 `protobuf:"varint,1,opt,name=ID,json=iD" json:"ID,omitempty"` Name *string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omitempty"` Description *string `protobuf:"bytes,3,opt,name=Description,json=description" json:"Description,omitempty"` Instructor *string `protobuf:"bytes,4,opt,name=Instructor,json=instructor" json:"Instructor,omitempty"` InstructorEmail *string `protobuf:"bytes,5,opt,name=InstructorEmail,json=instructorEmail" json:"InstructorEmail,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedCourse ¶
func (*Course) Descriptor ¶
func (*Course) GetDescription ¶
func (*Course) GetInstructor ¶
func (*Course) GetInstructorEmail ¶
func (*Course) ProtoMessage ¶
func (*Course) ProtoMessage()
func (*Course) VerboseEqual ¶
type Student ¶
type Student struct { UID *int64 `protobuf:"varint,1,opt,name=UID,json=uID" json:"UID,omitempty"` Username *string `protobuf:"bytes,2,opt,name=Username,json=username" json:"Username,omitempty"` Password *string `protobuf:"bytes,3,opt,name=Password,json=password" json:"Password,omitempty"` FullName *string `protobuf:"bytes,4,opt,name=FullName,json=fullName" json:"FullName,omitempty"` Email *string `protobuf:"bytes,5,opt,name=Email,json=email" json:"Email,omitempty"` HomeDirectory *string `protobuf:"bytes,6,opt,name=HomeDirectory,json=homeDirectory" json:"HomeDirectory,omitempty"` Courses []*Course `protobuf:"bytes,7,rep,name=Courses,json=courses" json:"Courses,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedStudent ¶
func (*Student) Descriptor ¶
func (*Student) GetCourses ¶
func (*Student) GetFullName ¶
func (*Student) GetHomeDirectory ¶
func (*Student) GetPassword ¶
func (*Student) GetUsername ¶
func (*Student) ProtoMessage ¶
func (*Student) ProtoMessage()
func (*Student) VerboseEqual ¶
Click to show internal directories.
Click to hide internal directories.