frontendapi

package
v0.0.0-...-a09204d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_frontendapi_frontend_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetUserRequest

type GetUserRequest struct {
	// contains filtered or unexported fields
}

A request for FrontendService.GetUser.

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {

	// The user information.
	// Required.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

A response for FrontendService.GetUser.

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type SaveUserRequest

type SaveUserRequest struct {

	// The user to create.
	// Required.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

A request for FrontendService.SaveUser.

func (*SaveUserRequest) Descriptor deprecated

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

Deprecated: Use SaveUserRequest.ProtoReflect.Descriptor instead.

func (*SaveUserRequest) GetUser

func (x *SaveUserRequest) GetUser() *User

func (*SaveUserRequest) ProtoMessage

func (*SaveUserRequest) ProtoMessage()

func (*SaveUserRequest) ProtoReflect

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

func (*SaveUserRequest) Reset

func (x *SaveUserRequest) Reset()

func (*SaveUserRequest) String

func (x *SaveUserRequest) String() string

type SaveUserResponse

type SaveUserResponse struct {
	// contains filtered or unexported fields
}

A response for FrontendService.SaveUser.

func (*SaveUserResponse) Descriptor deprecated

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

Deprecated: Use SaveUserResponse.ProtoReflect.Descriptor instead.

func (*SaveUserResponse) ProtoMessage

func (*SaveUserResponse) ProtoMessage()

func (*SaveUserResponse) ProtoReflect

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

func (*SaveUserResponse) Reset

func (x *SaveUserResponse) Reset()

func (*SaveUserResponse) String

func (x *SaveUserResponse) String() string

type User

type User struct {

	// IDs of programming languages that reviews can be created for.
	// IDs correspond to `language_id` from github-linguist.
	// https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml
	// Required.
	ProgrammingLanguageIds []uint32 `` /* 137-byte string literal not displayed */
	// The maximum number of reviews created by the app that can be open at once.
	// Required.
	MaxOpenReviews uint32 `protobuf:"varint,2,opt,name=max_open_reviews,json=maxOpenReviews,proto3" json:"max_open_reviews,omitempty"`
	// contains filtered or unexported fields
}

The settings for a user.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetMaxOpenReviews

func (x *User) GetMaxOpenReviews() uint32

func (*User) GetProgrammingLanguageIds

func (x *User) GetProgrammingLanguageIds() []uint32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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