internal

package
v0.0.0-...-4b60dc3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2016 License: MIT Imports: 11 Imported by: 0

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

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

func MarshalCourse

func MarshalCourse(s *envy.Course) ([]byte, error)

func MarshalStudent

func MarshalStudent(s *envy.Student) ([]byte, error)

func UnmarshalCourse

func UnmarshalCourse(data []byte, d *envy.Course) error

func UnmarshalStudent

func UnmarshalStudent(data []byte, d *envy.Student) error

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 NewPopulatedCourse(r randyInternal, easy bool) *Course

func (*Course) Descriptor

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

func (*Course) Equal

func (this *Course) Equal(that interface{}) bool

func (*Course) GetDescription

func (m *Course) GetDescription() string

func (*Course) GetID

func (m *Course) GetID() int64

func (*Course) GetInstructor

func (m *Course) GetInstructor() string

func (*Course) GetInstructorEmail

func (m *Course) GetInstructorEmail() string

func (*Course) GetName

func (m *Course) GetName() string

func (*Course) GoString

func (this *Course) GoString() string

func (*Course) Marshal

func (m *Course) Marshal() (data []byte, err error)

func (*Course) MarshalTo

func (m *Course) MarshalTo(data []byte) (int, error)

func (*Course) ProtoMessage

func (*Course) ProtoMessage()

func (*Course) Reset

func (m *Course) Reset()

func (*Course) Size

func (m *Course) Size() (n int)

func (*Course) String

func (this *Course) String() string

func (*Course) Unmarshal

func (m *Course) Unmarshal(data []byte) error

func (*Course) VerboseEqual

func (this *Course) VerboseEqual(that interface{}) error

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 NewPopulatedStudent(r randyInternal, easy bool) *Student

func (*Student) Descriptor

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

func (*Student) Equal

func (this *Student) Equal(that interface{}) bool

func (*Student) GetCourses

func (m *Student) GetCourses() []*Course

func (*Student) GetEmail

func (m *Student) GetEmail() string

func (*Student) GetFullName

func (m *Student) GetFullName() string

func (*Student) GetHomeDirectory

func (m *Student) GetHomeDirectory() string

func (*Student) GetPassword

func (m *Student) GetPassword() string

func (*Student) GetUID

func (m *Student) GetUID() int64

func (*Student) GetUsername

func (m *Student) GetUsername() string

func (*Student) GoString

func (this *Student) GoString() string

func (*Student) Marshal

func (m *Student) Marshal() (data []byte, err error)

func (*Student) MarshalTo

func (m *Student) MarshalTo(data []byte) (int, error)

func (*Student) ProtoMessage

func (*Student) ProtoMessage()

func (*Student) Reset

func (m *Student) Reset()

func (*Student) Size

func (m *Student) Size() (n int)

func (*Student) String

func (this *Student) String() string

func (*Student) Unmarshal

func (m *Student) Unmarshal(data []byte) error

func (*Student) VerboseEqual

func (this *Student) VerboseEqual(that interface{}) error

Jump to

Keyboard shortcuts

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