user_service

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const AuthenticationServicePathPrefix = "/twirp/user_service.AuthenticationService/"

AuthenticationServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const AutocompleteServicePathPrefix = "/twirp/user_service.AutocompleteService/"

AutocompleteServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const ProfileServicePathPrefix = "/twirp/user_service.ProfileService/"

ProfileServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RegistrationServicePathPrefix = "/twirp/user_service.RegistrationService/"

RegistrationServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const SocializeServicePathPrefix = "/twirp/user_service.SocializeService/"

SocializeServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

Variables

View Source
var File_api_proto_user_service_user_service_proto protoreflect.FileDescriptor

Functions

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type ActiveChatChannels added in v0.1.3

type ActiveChatChannels struct {
	Channels []*ActiveChatChannels_Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

func (*ActiveChatChannels) Descriptor deprecated added in v0.1.3

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

Deprecated: Use ActiveChatChannels.ProtoReflect.Descriptor instead.

func (*ActiveChatChannels) GetChannels added in v0.1.3

func (x *ActiveChatChannels) GetChannels() []*ActiveChatChannels_Channel

func (*ActiveChatChannels) ProtoMessage added in v0.1.3

func (*ActiveChatChannels) ProtoMessage()

func (*ActiveChatChannels) ProtoReflect added in v0.1.3

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

func (*ActiveChatChannels) Reset added in v0.1.3

func (x *ActiveChatChannels) Reset()

func (*ActiveChatChannels) String added in v0.1.3

func (x *ActiveChatChannels) String() string

type ActiveChatChannels_Channel added in v0.1.3

type ActiveChatChannels_Channel struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// last_update is a unix timestamp, in seconds.
	LastUpdate  int64  `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	HasUpdate   bool   `protobuf:"varint,4,opt,name=has_update,json=hasUpdate,proto3" json:"has_update,omitempty"`
	LastMessage string `protobuf:"bytes,5,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ActiveChatChannels_Channel) Descriptor deprecated added in v0.1.3

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

Deprecated: Use ActiveChatChannels_Channel.ProtoReflect.Descriptor instead.

func (*ActiveChatChannels_Channel) GetDisplayName added in v0.1.3

func (x *ActiveChatChannels_Channel) GetDisplayName() string

func (*ActiveChatChannels_Channel) GetHasUpdate added in v0.1.3

func (x *ActiveChatChannels_Channel) GetHasUpdate() bool

func (*ActiveChatChannels_Channel) GetLastMessage added in v0.1.3

func (x *ActiveChatChannels_Channel) GetLastMessage() string

func (*ActiveChatChannels_Channel) GetLastUpdate added in v0.1.3

func (x *ActiveChatChannels_Channel) GetLastUpdate() int64

func (*ActiveChatChannels_Channel) GetName added in v0.1.3

func (x *ActiveChatChannels_Channel) GetName() string

func (*ActiveChatChannels_Channel) ProtoMessage added in v0.1.3

func (*ActiveChatChannels_Channel) ProtoMessage()

func (*ActiveChatChannels_Channel) ProtoReflect added in v0.1.3

func (*ActiveChatChannels_Channel) Reset added in v0.1.3

func (x *ActiveChatChannels_Channel) Reset()

func (*ActiveChatChannels_Channel) String added in v0.1.3

func (x *ActiveChatChannels_Channel) String() string

type AddBlockRequest added in v0.1.2

type AddBlockRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBlockRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use AddBlockRequest.ProtoReflect.Descriptor instead.

func (*AddBlockRequest) GetUuid added in v0.1.2

func (x *AddBlockRequest) GetUuid() string

func (*AddBlockRequest) ProtoMessage added in v0.1.2

func (*AddBlockRequest) ProtoMessage()

func (*AddBlockRequest) ProtoReflect added in v0.1.2

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

func (*AddBlockRequest) Reset added in v0.1.2

func (x *AddBlockRequest) Reset()

func (*AddBlockRequest) String added in v0.1.2

func (x *AddBlockRequest) String() string

type AddFollowRequest added in v0.1.2

type AddFollowRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFollowRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use AddFollowRequest.ProtoReflect.Descriptor instead.

func (*AddFollowRequest) GetUuid added in v0.1.2

func (x *AddFollowRequest) GetUuid() string

func (*AddFollowRequest) ProtoMessage added in v0.1.2

func (*AddFollowRequest) ProtoMessage()

func (*AddFollowRequest) ProtoReflect added in v0.1.2

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

func (*AddFollowRequest) Reset added in v0.1.2

func (x *AddFollowRequest) Reset()

func (*AddFollowRequest) String added in v0.1.2

func (x *AddFollowRequest) String() string

type AuthenticationService

func NewAuthenticationServiceJSONClient

func NewAuthenticationServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AuthenticationService

NewAuthenticationServiceJSONClient creates a JSON client that implements the AuthenticationService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewAuthenticationServiceProtobufClient

func NewAuthenticationServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AuthenticationService

NewAuthenticationServiceProtobufClient creates a Protobuf client that implements the AuthenticationService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type AutocompleteService added in v0.1.2

type AutocompleteService interface {
	GetCompletion(context.Context, *UsernameSearchRequest) (*UsernameSearchResponse, error)
}

func NewAutocompleteServiceJSONClient added in v0.1.2

func NewAutocompleteServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AutocompleteService

NewAutocompleteServiceJSONClient creates a JSON client that implements the AutocompleteService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewAutocompleteServiceProtobufClient added in v0.1.2

func NewAutocompleteServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AutocompleteService

NewAutocompleteServiceProtobufClient creates a Protobuf client that implements the AutocompleteService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type BasicFollowedUser added in v0.1.3

type BasicFollowedUser struct {
	Uuid     string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Username string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Channel  []string `protobuf:"bytes,3,rep,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicFollowedUser) Descriptor deprecated added in v0.1.3

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

Deprecated: Use BasicFollowedUser.ProtoReflect.Descriptor instead.

func (*BasicFollowedUser) GetChannel added in v0.1.3

func (x *BasicFollowedUser) GetChannel() []string

func (*BasicFollowedUser) GetUsername added in v0.1.3

func (x *BasicFollowedUser) GetUsername() string

func (*BasicFollowedUser) GetUuid added in v0.1.3

func (x *BasicFollowedUser) GetUuid() string

func (*BasicFollowedUser) ProtoMessage added in v0.1.3

func (*BasicFollowedUser) ProtoMessage()

func (*BasicFollowedUser) ProtoReflect added in v0.1.3

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

func (*BasicFollowedUser) Reset added in v0.1.3

func (x *BasicFollowedUser) Reset()

func (*BasicFollowedUser) String added in v0.1.3

func (x *BasicFollowedUser) String() string

type BasicUser added in v0.1.2

type BasicUser struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicUser) Descriptor deprecated added in v0.1.2

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

Deprecated: Use BasicUser.ProtoReflect.Descriptor instead.

func (*BasicUser) GetUsername added in v0.1.2

func (x *BasicUser) GetUsername() string

func (*BasicUser) GetUuid added in v0.1.2

func (x *BasicUser) GetUuid() string

func (*BasicUser) ProtoMessage added in v0.1.2

func (*BasicUser) ProtoMessage()

func (*BasicUser) ProtoReflect added in v0.1.2

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

func (*BasicUser) Reset added in v0.1.2

func (x *BasicUser) Reset()

func (*BasicUser) String added in v0.1.2

func (x *BasicUser) String() string

type BriefProfile added in v0.1.3

type BriefProfile struct {
	Username    string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	FullName    string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // omitted for non-adults
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	AvatarUrl   string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

this is a subset of ProfileResponse

func (*BriefProfile) Descriptor deprecated added in v0.1.3

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

Deprecated: Use BriefProfile.ProtoReflect.Descriptor instead.

func (*BriefProfile) GetAvatarUrl added in v0.1.3

func (x *BriefProfile) GetAvatarUrl() string

func (*BriefProfile) GetCountryCode added in v0.1.3

func (x *BriefProfile) GetCountryCode() string

func (*BriefProfile) GetFullName added in v0.1.3

func (x *BriefProfile) GetFullName() string

func (*BriefProfile) GetUsername added in v0.1.3

func (x *BriefProfile) GetUsername() string

func (*BriefProfile) ProtoMessage added in v0.1.3

func (*BriefProfile) ProtoMessage()

func (*BriefProfile) ProtoReflect added in v0.1.3

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

func (*BriefProfile) Reset added in v0.1.3

func (x *BriefProfile) Reset()

func (*BriefProfile) String added in v0.1.3

func (x *BriefProfile) String() string

type BriefProfilesRequest added in v0.1.3

type BriefProfilesRequest struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BriefProfilesRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use BriefProfilesRequest.ProtoReflect.Descriptor instead.

func (*BriefProfilesRequest) GetUserIds added in v0.1.3

func (x *BriefProfilesRequest) GetUserIds() []string

func (*BriefProfilesRequest) ProtoMessage added in v0.1.3

func (*BriefProfilesRequest) ProtoMessage()

func (*BriefProfilesRequest) ProtoReflect added in v0.1.3

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

func (*BriefProfilesRequest) Reset added in v0.1.3

func (x *BriefProfilesRequest) Reset()

func (*BriefProfilesRequest) String added in v0.1.3

func (x *BriefProfilesRequest) String() string

type BriefProfilesResponse added in v0.1.3

type BriefProfilesResponse struct {
	Response map[string]*BriefProfile `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BriefProfilesResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use BriefProfilesResponse.ProtoReflect.Descriptor instead.

func (*BriefProfilesResponse) GetResponse added in v0.1.3

func (x *BriefProfilesResponse) GetResponse() map[string]*BriefProfile

func (*BriefProfilesResponse) ProtoMessage added in v0.1.3

func (*BriefProfilesResponse) ProtoMessage()

func (*BriefProfilesResponse) ProtoReflect added in v0.1.3

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

func (*BriefProfilesResponse) Reset added in v0.1.3

func (x *BriefProfilesResponse) Reset()

func (*BriefProfilesResponse) String added in v0.1.3

func (x *BriefProfilesResponse) String() string

type ChangePasswordRequest

type ChangePasswordRequest struct {
	OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() string

func (*ChangePasswordRequest) GetOldPassword

func (x *ChangePasswordRequest) GetOldPassword() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

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

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

type ChangePasswordResponse

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

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type CountryFlag added in v0.1.3

type CountryFlag struct {
	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CountryFlag) Descriptor deprecated added in v0.1.3

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

Deprecated: Use CountryFlag.ProtoReflect.Descriptor instead.

func (*CountryFlag) GetName added in v0.1.3

func (x *CountryFlag) GetName() string

func (*CountryFlag) GetUrl added in v0.1.3

func (x *CountryFlag) GetUrl() string

func (*CountryFlag) ProtoMessage added in v0.1.3

func (*CountryFlag) ProtoMessage()

func (*CountryFlag) ProtoReflect added in v0.1.3

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

func (*CountryFlag) Reset added in v0.1.3

func (x *CountryFlag) Reset()

func (*CountryFlag) String added in v0.1.3

func (x *CountryFlag) String() string

type GetActiveChatChannelsRequest added in v0.1.3

type GetActiveChatChannelsRequest struct {
	Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// If a tournament_id is provided, we get active chat channels (private
	// message channels) in addition to the given tournament channel.
	TournamentId string `protobuf:"bytes,3,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveChatChannelsRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use GetActiveChatChannelsRequest.ProtoReflect.Descriptor instead.

func (*GetActiveChatChannelsRequest) GetNumber added in v0.1.3

func (x *GetActiveChatChannelsRequest) GetNumber() int32

func (*GetActiveChatChannelsRequest) GetOffset added in v0.1.3

func (x *GetActiveChatChannelsRequest) GetOffset() int32

func (*GetActiveChatChannelsRequest) GetTournamentId added in v0.1.3

func (x *GetActiveChatChannelsRequest) GetTournamentId() string

func (*GetActiveChatChannelsRequest) ProtoMessage added in v0.1.3

func (*GetActiveChatChannelsRequest) ProtoMessage()

func (*GetActiveChatChannelsRequest) ProtoReflect added in v0.1.3

func (*GetActiveChatChannelsRequest) Reset added in v0.1.3

func (x *GetActiveChatChannelsRequest) Reset()

func (*GetActiveChatChannelsRequest) String added in v0.1.3

type GetBlocksRequest added in v0.1.2

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

func (*GetBlocksRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetBlocksRequest.ProtoReflect.Descriptor instead.

func (*GetBlocksRequest) ProtoMessage added in v0.1.2

func (*GetBlocksRequest) ProtoMessage()

func (*GetBlocksRequest) ProtoReflect added in v0.1.2

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

func (*GetBlocksRequest) Reset added in v0.1.2

func (x *GetBlocksRequest) Reset()

func (*GetBlocksRequest) String added in v0.1.2

func (x *GetBlocksRequest) String() string

type GetBlocksResponse added in v0.1.2

type GetBlocksResponse struct {
	Users []*BasicUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocksResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetBlocksResponse.ProtoReflect.Descriptor instead.

func (*GetBlocksResponse) GetUsers added in v0.1.2

func (x *GetBlocksResponse) GetUsers() []*BasicUser

func (*GetBlocksResponse) ProtoMessage added in v0.1.2

func (*GetBlocksResponse) ProtoMessage()

func (*GetBlocksResponse) ProtoReflect added in v0.1.2

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

func (*GetBlocksResponse) Reset added in v0.1.2

func (x *GetBlocksResponse) Reset()

func (*GetBlocksResponse) String added in v0.1.2

func (x *GetBlocksResponse) String() string

type GetChatsRequest added in v0.1.3

type GetChatsRequest struct {
	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatsRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use GetChatsRequest.ProtoReflect.Descriptor instead.

func (*GetChatsRequest) GetChannel added in v0.1.3

func (x *GetChatsRequest) GetChannel() string

func (*GetChatsRequest) ProtoMessage added in v0.1.3

func (*GetChatsRequest) ProtoMessage()

func (*GetChatsRequest) ProtoReflect added in v0.1.3

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

func (*GetChatsRequest) Reset added in v0.1.3

func (x *GetChatsRequest) Reset()

func (*GetChatsRequest) String added in v0.1.3

func (x *GetChatsRequest) String() string

type GetFollowsRequest added in v0.1.2

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

func (*GetFollowsRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetFollowsRequest.ProtoReflect.Descriptor instead.

func (*GetFollowsRequest) ProtoMessage added in v0.1.2

func (*GetFollowsRequest) ProtoMessage()

func (*GetFollowsRequest) ProtoReflect added in v0.1.2

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

func (*GetFollowsRequest) Reset added in v0.1.2

func (x *GetFollowsRequest) Reset()

func (*GetFollowsRequest) String added in v0.1.2

func (x *GetFollowsRequest) String() string

type GetFollowsResponse added in v0.1.2

type GetFollowsResponse struct {
	Users []*BasicFollowedUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFollowsResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetFollowsResponse.ProtoReflect.Descriptor instead.

func (*GetFollowsResponse) GetUsers added in v0.1.2

func (x *GetFollowsResponse) GetUsers() []*BasicFollowedUser

func (*GetFollowsResponse) ProtoMessage added in v0.1.2

func (*GetFollowsResponse) ProtoMessage()

func (*GetFollowsResponse) ProtoReflect added in v0.1.2

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

func (*GetFollowsResponse) Reset added in v0.1.2

func (x *GetFollowsResponse) Reset()

func (*GetFollowsResponse) String added in v0.1.2

func (x *GetFollowsResponse) String() string

type GetFullBlocksRequest added in v0.1.2

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

func (*GetFullBlocksRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetFullBlocksRequest.ProtoReflect.Descriptor instead.

func (*GetFullBlocksRequest) ProtoMessage added in v0.1.2

func (*GetFullBlocksRequest) ProtoMessage()

func (*GetFullBlocksRequest) ProtoReflect added in v0.1.2

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

func (*GetFullBlocksRequest) Reset added in v0.1.2

func (x *GetFullBlocksRequest) Reset()

func (*GetFullBlocksRequest) String added in v0.1.2

func (x *GetFullBlocksRequest) String() string

type GetFullBlocksResponse added in v0.1.2

type GetFullBlocksResponse struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

XXX: We should eventually obsolete this and handle blocks purely on the backend but we need to write a lot of hard code for that.

func (*GetFullBlocksResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use GetFullBlocksResponse.ProtoReflect.Descriptor instead.

func (*GetFullBlocksResponse) GetUserIds added in v0.1.2

func (x *GetFullBlocksResponse) GetUserIds() []string

func (*GetFullBlocksResponse) ProtoMessage added in v0.1.2

func (*GetFullBlocksResponse) ProtoMessage()

func (*GetFullBlocksResponse) ProtoReflect added in v0.1.2

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

func (*GetFullBlocksResponse) Reset added in v0.1.2

func (x *GetFullBlocksResponse) Reset()

func (*GetFullBlocksResponse) String added in v0.1.2

func (x *GetFullBlocksResponse) String() string

type GetModListRequest added in v0.1.3

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

func (*GetModListRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use GetModListRequest.ProtoReflect.Descriptor instead.

func (*GetModListRequest) ProtoMessage added in v0.1.3

func (*GetModListRequest) ProtoMessage()

func (*GetModListRequest) ProtoReflect added in v0.1.3

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

func (*GetModListRequest) Reset added in v0.1.3

func (x *GetModListRequest) Reset()

func (*GetModListRequest) String added in v0.1.3

func (x *GetModListRequest) String() string

type GetModListResponse added in v0.1.3

type GetModListResponse struct {
	AdminUserIds []string `protobuf:"bytes,1,rep,name=admin_user_ids,json=adminUserIds,proto3" json:"admin_user_ids,omitempty"`
	ModUserIds   []string `protobuf:"bytes,2,rep,name=mod_user_ids,json=modUserIds,proto3" json:"mod_user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModListResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use GetModListResponse.ProtoReflect.Descriptor instead.

func (*GetModListResponse) GetAdminUserIds added in v0.1.3

func (x *GetModListResponse) GetAdminUserIds() []string

func (*GetModListResponse) GetModUserIds added in v0.1.3

func (x *GetModListResponse) GetModUserIds() []string

func (*GetModListResponse) ProtoMessage added in v0.1.3

func (*GetModListResponse) ProtoMessage()

func (*GetModListResponse) ProtoReflect added in v0.1.3

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

func (*GetModListResponse) Reset added in v0.1.3

func (x *GetModListResponse) Reset()

func (*GetModListResponse) String added in v0.1.3

func (x *GetModListResponse) String() string

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type KickstarterBadge added in v0.1.3

type KickstarterBadge struct {
	Url   string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*KickstarterBadge) Descriptor deprecated added in v0.1.3

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

Deprecated: Use KickstarterBadge.ProtoReflect.Descriptor instead.

func (*KickstarterBadge) GetTitle added in v0.1.3

func (x *KickstarterBadge) GetTitle() string

func (*KickstarterBadge) GetUrl added in v0.1.3

func (x *KickstarterBadge) GetUrl() string

func (*KickstarterBadge) ProtoMessage added in v0.1.3

func (*KickstarterBadge) ProtoMessage()

func (*KickstarterBadge) ProtoReflect added in v0.1.3

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

func (*KickstarterBadge) Reset added in v0.1.3

func (x *KickstarterBadge) Reset()

func (*KickstarterBadge) String added in v0.1.3

func (x *KickstarterBadge) String() string

type LoginResponse

type LoginResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// I'm not sure if it's safe to do this (return session_id in the request
	// body). We will keep it blank but it might be useful for other interfaces,
	// such as a CLI-driven one, or a phone app, e.g, so keep this here for now.
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

The server should also set the session ID in the header.

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetMessage

func (x *LoginResponse) GetMessage() string

func (*LoginResponse) GetSessionId

func (x *LoginResponse) GetSessionId() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LogoutResponse

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

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type NotifyAccountClosureRequest added in v0.1.3

type NotifyAccountClosureRequest struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyAccountClosureRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use NotifyAccountClosureRequest.ProtoReflect.Descriptor instead.

func (*NotifyAccountClosureRequest) GetPassword added in v0.1.3

func (x *NotifyAccountClosureRequest) GetPassword() string

func (*NotifyAccountClosureRequest) ProtoMessage added in v0.1.3

func (*NotifyAccountClosureRequest) ProtoMessage()

func (*NotifyAccountClosureRequest) ProtoReflect added in v0.1.3

func (*NotifyAccountClosureRequest) Reset added in v0.1.3

func (x *NotifyAccountClosureRequest) Reset()

func (*NotifyAccountClosureRequest) String added in v0.1.3

func (x *NotifyAccountClosureRequest) String() string

type NotifyAccountClosureResponse added in v0.1.3

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

func (*NotifyAccountClosureResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use NotifyAccountClosureResponse.ProtoReflect.Descriptor instead.

func (*NotifyAccountClosureResponse) ProtoMessage added in v0.1.3

func (*NotifyAccountClosureResponse) ProtoMessage()

func (*NotifyAccountClosureResponse) ProtoReflect added in v0.1.3

func (*NotifyAccountClosureResponse) Reset added in v0.1.3

func (x *NotifyAccountClosureResponse) Reset()

func (*NotifyAccountClosureResponse) String added in v0.1.3

type OKResponse added in v0.1.2

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

func (*OKResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use OKResponse.ProtoReflect.Descriptor instead.

func (*OKResponse) ProtoMessage added in v0.1.2

func (*OKResponse) ProtoMessage()

func (*OKResponse) ProtoReflect added in v0.1.2

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

func (*OKResponse) Reset added in v0.1.2

func (x *OKResponse) Reset()

func (*OKResponse) String added in v0.1.2

func (x *OKResponse) String() string

type PersonalInfoRequest added in v0.1.3

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

func (*PersonalInfoRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use PersonalInfoRequest.ProtoReflect.Descriptor instead.

func (*PersonalInfoRequest) ProtoMessage added in v0.1.3

func (*PersonalInfoRequest) ProtoMessage()

func (*PersonalInfoRequest) ProtoReflect added in v0.1.3

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

func (*PersonalInfoRequest) Reset added in v0.1.3

func (x *PersonalInfoRequest) Reset()

func (*PersonalInfoRequest) String added in v0.1.3

func (x *PersonalInfoRequest) String() string

type PersonalInfoResponse added in v0.1.3

type PersonalInfoResponse struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	AvatarUrl   string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	FullName    string `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	About       string `protobuf:"bytes,7,opt,name=about,proto3" json:"about,omitempty"`
	BirthDate   string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonalInfoResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use PersonalInfoResponse.ProtoReflect.Descriptor instead.

func (*PersonalInfoResponse) GetAbout added in v0.1.3

func (x *PersonalInfoResponse) GetAbout() string

func (*PersonalInfoResponse) GetAvatarUrl added in v0.1.3

func (x *PersonalInfoResponse) GetAvatarUrl() string

func (*PersonalInfoResponse) GetBirthDate added in v0.1.3

func (x *PersonalInfoResponse) GetBirthDate() string

func (*PersonalInfoResponse) GetCountryCode added in v0.1.3

func (x *PersonalInfoResponse) GetCountryCode() string

func (*PersonalInfoResponse) GetEmail added in v0.1.3

func (x *PersonalInfoResponse) GetEmail() string

func (*PersonalInfoResponse) GetFirstName added in v0.1.3

func (x *PersonalInfoResponse) GetFirstName() string

func (*PersonalInfoResponse) GetFullName added in v0.1.3

func (x *PersonalInfoResponse) GetFullName() string

func (*PersonalInfoResponse) GetLastName added in v0.1.3

func (x *PersonalInfoResponse) GetLastName() string

func (*PersonalInfoResponse) ProtoMessage added in v0.1.3

func (*PersonalInfoResponse) ProtoMessage()

func (*PersonalInfoResponse) ProtoReflect added in v0.1.3

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

func (*PersonalInfoResponse) Reset added in v0.1.3

func (x *PersonalInfoResponse) Reset()

func (*PersonalInfoResponse) String added in v0.1.3

func (x *PersonalInfoResponse) String() string

type ProfileRequest

type ProfileRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileRequest) Descriptor deprecated

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

Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.

func (*ProfileRequest) GetUsername

func (x *ProfileRequest) GetUsername() string

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) ProtoReflect

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

func (*ProfileRequest) Reset

func (x *ProfileRequest) Reset()

func (*ProfileRequest) String

func (x *ProfileRequest) String() string

type ProfileResponse

type ProfileResponse struct {
	FirstName       string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName        string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	CountryCode     string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Title           string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	About           string `protobuf:"bytes,5,opt,name=about,proto3" json:"about,omitempty"`
	RatingsJson     string `protobuf:"bytes,6,opt,name=ratings_json,json=ratingsJson,proto3" json:"ratings_json,omitempty"`
	StatsJson       string `protobuf:"bytes,7,opt,name=stats_json,json=statsJson,proto3" json:"stats_json,omitempty"`
	UserId          string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	AvatarUrl       string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	FullName        string `protobuf:"bytes,10,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	AvatarsEditable bool   `protobuf:"varint,11,opt,name=avatars_editable,json=avatarsEditable,proto3" json:"avatars_editable,omitempty"`
	BirthDate       string `protobuf:"bytes,12,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileResponse) Descriptor deprecated

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

Deprecated: Use ProfileResponse.ProtoReflect.Descriptor instead.

func (*ProfileResponse) GetAbout

func (x *ProfileResponse) GetAbout() string

func (*ProfileResponse) GetAvatarUrl added in v0.1.3

func (x *ProfileResponse) GetAvatarUrl() string

func (*ProfileResponse) GetAvatarsEditable added in v0.1.3

func (x *ProfileResponse) GetAvatarsEditable() bool

func (*ProfileResponse) GetBirthDate added in v0.1.3

func (x *ProfileResponse) GetBirthDate() string

func (*ProfileResponse) GetCountryCode

func (x *ProfileResponse) GetCountryCode() string

func (*ProfileResponse) GetFirstName

func (x *ProfileResponse) GetFirstName() string

func (*ProfileResponse) GetFullName added in v0.1.3

func (x *ProfileResponse) GetFullName() string

func (*ProfileResponse) GetLastName

func (x *ProfileResponse) GetLastName() string

func (*ProfileResponse) GetRatingsJson

func (x *ProfileResponse) GetRatingsJson() string

func (*ProfileResponse) GetStatsJson

func (x *ProfileResponse) GetStatsJson() string

func (*ProfileResponse) GetTitle

func (x *ProfileResponse) GetTitle() string

func (*ProfileResponse) GetUserId added in v0.1.2

func (x *ProfileResponse) GetUserId() string

func (*ProfileResponse) ProtoMessage

func (*ProfileResponse) ProtoMessage()

func (*ProfileResponse) ProtoReflect

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

func (*ProfileResponse) Reset

func (x *ProfileResponse) Reset()

func (*ProfileResponse) String

func (x *ProfileResponse) String() string

type ProfileService

func NewProfileServiceJSONClient

func NewProfileServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ProfileService

NewProfileServiceJSONClient creates a JSON client that implements the ProfileService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewProfileServiceProtobufClient

func NewProfileServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ProfileService

NewProfileServiceProtobufClient creates a Protobuf client that implements the ProfileService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RatingsRequest

type RatingsRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*RatingsRequest) Descriptor deprecated

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

Deprecated: Use RatingsRequest.ProtoReflect.Descriptor instead.

func (*RatingsRequest) GetUsername

func (x *RatingsRequest) GetUsername() string

func (*RatingsRequest) ProtoMessage

func (*RatingsRequest) ProtoMessage()

func (*RatingsRequest) ProtoReflect

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

func (*RatingsRequest) Reset

func (x *RatingsRequest) Reset()

func (*RatingsRequest) String

func (x *RatingsRequest) String() string

type RatingsResponse

type RatingsResponse struct {
	Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

We just send the raw JSON from the db here for ease. Let the front-end figure out how to display it.

func (*RatingsResponse) Descriptor deprecated

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

Deprecated: Use RatingsResponse.ProtoReflect.Descriptor instead.

func (*RatingsResponse) GetJson

func (x *RatingsResponse) GetJson() string

func (*RatingsResponse) ProtoMessage

func (*RatingsResponse) ProtoMessage()

func (*RatingsResponse) ProtoReflect

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

func (*RatingsResponse) Reset

func (x *RatingsResponse) Reset()

func (*RatingsResponse) String

func (x *RatingsResponse) String() string

type RegistrationResponse

type RegistrationResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistrationResponse) Descriptor deprecated

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

Deprecated: Use RegistrationResponse.ProtoReflect.Descriptor instead.

func (*RegistrationResponse) GetMessage

func (x *RegistrationResponse) GetMessage() string

func (*RegistrationResponse) ProtoMessage

func (*RegistrationResponse) ProtoMessage()

func (*RegistrationResponse) ProtoReflect

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

func (*RegistrationResponse) Reset

func (x *RegistrationResponse) Reset()

func (*RegistrationResponse) String

func (x *RegistrationResponse) String() string

type RegistrationService

type RegistrationService interface {
	Register(context.Context, *UserRegistrationRequest) (*RegistrationResponse, error)
}

func NewRegistrationServiceJSONClient

func NewRegistrationServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RegistrationService

NewRegistrationServiceJSONClient creates a JSON client that implements the RegistrationService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRegistrationServiceProtobufClient

func NewRegistrationServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RegistrationService

NewRegistrationServiceProtobufClient creates a Protobuf client that implements the RegistrationService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RemoveAvatarRequest added in v0.1.3

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

func (*RemoveAvatarRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use RemoveAvatarRequest.ProtoReflect.Descriptor instead.

func (*RemoveAvatarRequest) ProtoMessage added in v0.1.3

func (*RemoveAvatarRequest) ProtoMessage()

func (*RemoveAvatarRequest) ProtoReflect added in v0.1.3

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

func (*RemoveAvatarRequest) Reset added in v0.1.3

func (x *RemoveAvatarRequest) Reset()

func (*RemoveAvatarRequest) String added in v0.1.3

func (x *RemoveAvatarRequest) String() string

type RemoveAvatarResponse added in v0.1.3

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

func (*RemoveAvatarResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use RemoveAvatarResponse.ProtoReflect.Descriptor instead.

func (*RemoveAvatarResponse) ProtoMessage added in v0.1.3

func (*RemoveAvatarResponse) ProtoMessage()

func (*RemoveAvatarResponse) ProtoReflect added in v0.1.3

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

func (*RemoveAvatarResponse) Reset added in v0.1.3

func (x *RemoveAvatarResponse) Reset()

func (*RemoveAvatarResponse) String added in v0.1.3

func (x *RemoveAvatarResponse) String() string

type RemoveBlockRequest added in v0.1.2

type RemoveBlockRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveBlockRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use RemoveBlockRequest.ProtoReflect.Descriptor instead.

func (*RemoveBlockRequest) GetUuid added in v0.1.2

func (x *RemoveBlockRequest) GetUuid() string

func (*RemoveBlockRequest) ProtoMessage added in v0.1.2

func (*RemoveBlockRequest) ProtoMessage()

func (*RemoveBlockRequest) ProtoReflect added in v0.1.2

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

func (*RemoveBlockRequest) Reset added in v0.1.2

func (x *RemoveBlockRequest) Reset()

func (*RemoveBlockRequest) String added in v0.1.2

func (x *RemoveBlockRequest) String() string

type RemoveFollowRequest added in v0.1.2

type RemoveFollowRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFollowRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use RemoveFollowRequest.ProtoReflect.Descriptor instead.

func (*RemoveFollowRequest) GetUuid added in v0.1.2

func (x *RemoveFollowRequest) GetUuid() string

func (*RemoveFollowRequest) ProtoMessage added in v0.1.2

func (*RemoveFollowRequest) ProtoMessage()

func (*RemoveFollowRequest) ProtoReflect added in v0.1.2

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

func (*RemoveFollowRequest) Reset added in v0.1.2

func (x *RemoveFollowRequest) Reset()

func (*RemoveFollowRequest) String added in v0.1.2

func (x *RemoveFollowRequest) String() string

type ResetPasswordRequestStep1

type ResetPasswordRequestStep1 struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequestStep1) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequestStep1.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequestStep1) GetEmail

func (x *ResetPasswordRequestStep1) GetEmail() string

func (*ResetPasswordRequestStep1) ProtoMessage

func (*ResetPasswordRequestStep1) ProtoMessage()

func (*ResetPasswordRequestStep1) ProtoReflect

func (*ResetPasswordRequestStep1) Reset

func (x *ResetPasswordRequestStep1) Reset()

func (*ResetPasswordRequestStep1) String

func (x *ResetPasswordRequestStep1) String() string

type ResetPasswordRequestStep2 added in v0.1.1

type ResetPasswordRequestStep2 struct {
	Password  string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	ResetCode string `protobuf:"bytes,2,opt,name=reset_code,json=resetCode,proto3" json:"reset_code,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequestStep2) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ResetPasswordRequestStep2.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequestStep2) GetPassword added in v0.1.1

func (x *ResetPasswordRequestStep2) GetPassword() string

func (*ResetPasswordRequestStep2) GetResetCode added in v0.1.1

func (x *ResetPasswordRequestStep2) GetResetCode() string

func (*ResetPasswordRequestStep2) ProtoMessage added in v0.1.1

func (*ResetPasswordRequestStep2) ProtoMessage()

func (*ResetPasswordRequestStep2) ProtoReflect added in v0.1.1

func (*ResetPasswordRequestStep2) Reset added in v0.1.1

func (x *ResetPasswordRequestStep2) Reset()

func (*ResetPasswordRequestStep2) String added in v0.1.1

func (x *ResetPasswordRequestStep2) String() string

type ResetPasswordResponse

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

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

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

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type SocializeService added in v0.1.2

type SocializeService interface {
	AddFollow(context.Context, *AddFollowRequest) (*OKResponse, error)

	RemoveFollow(context.Context, *RemoveFollowRequest) (*OKResponse, error)

	GetFollows(context.Context, *GetFollowsRequest) (*GetFollowsResponse, error)

	AddBlock(context.Context, *AddBlockRequest) (*OKResponse, error)

	RemoveBlock(context.Context, *RemoveBlockRequest) (*OKResponse, error)

	GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)

	// GetFullBlocks gets players who blocked us AND players we've blocked
	// together.
	GetFullBlocks(context.Context, *GetFullBlocksRequest) (*GetFullBlocksResponse, error)

	GetActiveChatChannels(context.Context, *GetActiveChatChannelsRequest) (*ActiveChatChannels, error)

	GetChatsForChannel(context.Context, *GetChatsRequest) (*ipc.ChatMessages, error)

	GetModList(context.Context, *GetModListRequest) (*GetModListResponse, error)
}

Yeah I know

func NewSocializeServiceJSONClient added in v0.1.2

func NewSocializeServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) SocializeService

NewSocializeServiceJSONClient creates a JSON client that implements the SocializeService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewSocializeServiceProtobufClient added in v0.1.2

func NewSocializeServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) SocializeService

NewSocializeServiceProtobufClient creates a Protobuf client that implements the SocializeService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type SocketTokenRequest

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

SocketTokenRequest requests a token in order to authenticate with the socket server

func (*SocketTokenRequest) Descriptor deprecated

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

Deprecated: Use SocketTokenRequest.ProtoReflect.Descriptor instead.

func (*SocketTokenRequest) ProtoMessage

func (*SocketTokenRequest) ProtoMessage()

func (*SocketTokenRequest) ProtoReflect

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

func (*SocketTokenRequest) Reset

func (x *SocketTokenRequest) Reset()

func (*SocketTokenRequest) String

func (x *SocketTokenRequest) String() string

type SocketTokenResponse

type SocketTokenResponse struct {
	Token           string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Cid             string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	FrontEndVersion string `protobuf:"bytes,3,opt,name=front_end_version,json=frontEndVersion,proto3" json:"front_end_version,omitempty"`
	// contains filtered or unexported fields
}

func (*SocketTokenResponse) Descriptor deprecated

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

Deprecated: Use SocketTokenResponse.ProtoReflect.Descriptor instead.

func (*SocketTokenResponse) GetCid added in v0.1.2

func (x *SocketTokenResponse) GetCid() string

func (*SocketTokenResponse) GetFrontEndVersion added in v0.1.3

func (x *SocketTokenResponse) GetFrontEndVersion() string

func (*SocketTokenResponse) GetToken

func (x *SocketTokenResponse) GetToken() string

func (*SocketTokenResponse) ProtoMessage

func (*SocketTokenResponse) ProtoMessage()

func (*SocketTokenResponse) ProtoReflect

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

func (*SocketTokenResponse) Reset

func (x *SocketTokenResponse) Reset()

func (*SocketTokenResponse) String

func (x *SocketTokenResponse) String() string

type StatsRequest

type StatsRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsRequest) Descriptor deprecated

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

Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.

func (*StatsRequest) GetUsername

func (x *StatsRequest) GetUsername() string

func (*StatsRequest) ProtoMessage

func (*StatsRequest) ProtoMessage()

func (*StatsRequest) ProtoReflect

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

func (*StatsRequest) Reset

func (x *StatsRequest) Reset()

func (*StatsRequest) String

func (x *StatsRequest) String() string

type StatsResponse

type StatsResponse struct {
	Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

See ratings JSON note above.

func (*StatsResponse) Descriptor deprecated

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

Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.

func (*StatsResponse) GetJson

func (x *StatsResponse) GetJson() string

func (*StatsResponse) ProtoMessage

func (*StatsResponse) ProtoMessage()

func (*StatsResponse) ProtoReflect

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

func (*StatsResponse) Reset

func (x *StatsResponse) Reset()

func (*StatsResponse) String

func (x *StatsResponse) String() string

type TwirpServer

type TwirpServer interface {
	http.Handler

	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)

	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string

	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route Twirp requests.
	// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
	// that is, everything in a Twirp route except for the <Method> at the end.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewAuthenticationServiceServer

func NewAuthenticationServiceServer(svc AuthenticationService, opts ...interface{}) TwirpServer

NewAuthenticationServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewAutocompleteServiceServer added in v0.1.2

func NewAutocompleteServiceServer(svc AutocompleteService, opts ...interface{}) TwirpServer

NewAutocompleteServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewProfileServiceServer

func NewProfileServiceServer(svc ProfileService, opts ...interface{}) TwirpServer

NewProfileServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRegistrationServiceServer

func NewRegistrationServiceServer(svc RegistrationService, opts ...interface{}) TwirpServer

NewRegistrationServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewSocializeServiceServer added in v0.1.2

func NewSocializeServiceServer(svc SocializeService, opts ...interface{}) TwirpServer

NewSocializeServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

type UpdateAvatarRequest added in v0.1.3

type UpdateAvatarRequest struct {
	JpgData []byte `protobuf:"bytes,1,opt,name=jpg_data,json=jpgData,proto3" json:"jpg_data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead.

func (*UpdateAvatarRequest) GetJpgData added in v0.1.3

func (x *UpdateAvatarRequest) GetJpgData() []byte

func (*UpdateAvatarRequest) ProtoMessage added in v0.1.3

func (*UpdateAvatarRequest) ProtoMessage()

func (*UpdateAvatarRequest) ProtoReflect added in v0.1.3

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

func (*UpdateAvatarRequest) Reset added in v0.1.3

func (x *UpdateAvatarRequest) Reset()

func (*UpdateAvatarRequest) String added in v0.1.3

func (x *UpdateAvatarRequest) String() string

type UpdateAvatarResponse added in v0.1.3

type UpdateAvatarResponse struct {
	AvatarUrl string `protobuf:"bytes,1,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use UpdateAvatarResponse.ProtoReflect.Descriptor instead.

func (*UpdateAvatarResponse) GetAvatarUrl added in v0.1.3

func (x *UpdateAvatarResponse) GetAvatarUrl() string

func (*UpdateAvatarResponse) ProtoMessage added in v0.1.3

func (*UpdateAvatarResponse) ProtoMessage()

func (*UpdateAvatarResponse) ProtoReflect added in v0.1.3

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

func (*UpdateAvatarResponse) Reset added in v0.1.3

func (x *UpdateAvatarResponse) Reset()

func (*UpdateAvatarResponse) String added in v0.1.3

func (x *UpdateAvatarResponse) String() string

type UpdatePersonalInfoRequest added in v0.1.3

type UpdatePersonalInfoRequest struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	AvatarUrl   string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	FullName    string `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	About       string `protobuf:"bytes,7,opt,name=about,proto3" json:"about,omitempty"`
	BirthDate   string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePersonalInfoRequest) Descriptor deprecated added in v0.1.3

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

Deprecated: Use UpdatePersonalInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdatePersonalInfoRequest) GetAbout added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetAbout() string

func (*UpdatePersonalInfoRequest) GetAvatarUrl added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetAvatarUrl() string

func (*UpdatePersonalInfoRequest) GetBirthDate added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetBirthDate() string

func (*UpdatePersonalInfoRequest) GetCountryCode added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetCountryCode() string

func (*UpdatePersonalInfoRequest) GetEmail added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetEmail() string

func (*UpdatePersonalInfoRequest) GetFirstName added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetFirstName() string

func (*UpdatePersonalInfoRequest) GetFullName added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetFullName() string

func (*UpdatePersonalInfoRequest) GetLastName added in v0.1.3

func (x *UpdatePersonalInfoRequest) GetLastName() string

func (*UpdatePersonalInfoRequest) ProtoMessage added in v0.1.3

func (*UpdatePersonalInfoRequest) ProtoMessage()

func (*UpdatePersonalInfoRequest) ProtoReflect added in v0.1.3

func (*UpdatePersonalInfoRequest) Reset added in v0.1.3

func (x *UpdatePersonalInfoRequest) Reset()

func (*UpdatePersonalInfoRequest) String added in v0.1.3

func (x *UpdatePersonalInfoRequest) String() string

type UpdatePersonalInfoResponse added in v0.1.3

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

func (*UpdatePersonalInfoResponse) Descriptor deprecated added in v0.1.3

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

Deprecated: Use UpdatePersonalInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdatePersonalInfoResponse) ProtoMessage added in v0.1.3

func (*UpdatePersonalInfoResponse) ProtoMessage()

func (*UpdatePersonalInfoResponse) ProtoReflect added in v0.1.3

func (*UpdatePersonalInfoResponse) Reset added in v0.1.3

func (x *UpdatePersonalInfoResponse) Reset()

func (*UpdatePersonalInfoResponse) String added in v0.1.3

func (x *UpdatePersonalInfoResponse) String() string

type UserGameInfo added in v0.1.3

type UserGameInfo struct {
	Uuid      string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Title     string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	FullName  string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// CountryFlag appears to be obsolete; we fetch these using BriefProfiles
	//
	// Deprecated: Do not use.
	Flag              *CountryFlag        `protobuf:"bytes,5,opt,name=flag,proto3" json:"flag,omitempty"`
	KickstarterBadges []*KickstarterBadge `protobuf:"bytes,6,rep,name=kickstarter_badges,json=kickstarterBadges,proto3" json:"kickstarter_badges,omitempty"`
	// contains filtered or unexported fields
}

Information require to display a user in a game.

func (*UserGameInfo) Descriptor deprecated added in v0.1.3

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

Deprecated: Use UserGameInfo.ProtoReflect.Descriptor instead.

func (*UserGameInfo) GetAvatarUrl added in v0.1.3

func (x *UserGameInfo) GetAvatarUrl() string

func (*UserGameInfo) GetFlag deprecated added in v0.1.3

func (x *UserGameInfo) GetFlag() *CountryFlag

Deprecated: Do not use.

func (*UserGameInfo) GetFullName added in v0.1.3

func (x *UserGameInfo) GetFullName() string

func (*UserGameInfo) GetKickstarterBadges added in v0.1.3

func (x *UserGameInfo) GetKickstarterBadges() []*KickstarterBadge

func (*UserGameInfo) GetTitle added in v0.1.3

func (x *UserGameInfo) GetTitle() string

func (*UserGameInfo) GetUuid added in v0.1.3

func (x *UserGameInfo) GetUuid() string

func (*UserGameInfo) ProtoMessage added in v0.1.3

func (*UserGameInfo) ProtoMessage()

func (*UserGameInfo) ProtoReflect added in v0.1.3

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

func (*UserGameInfo) Reset added in v0.1.3

func (x *UserGameInfo) Reset()

func (*UserGameInfo) String added in v0.1.3

func (x *UserGameInfo) String() string

type UserLoginRequest

type UserLoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

UserLoginRequest is used for logging in.

func (*UserLoginRequest) Descriptor deprecated

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

Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.

func (*UserLoginRequest) GetPassword

func (x *UserLoginRequest) GetPassword() string

func (*UserLoginRequest) GetUsername

func (x *UserLoginRequest) GetUsername() string

func (*UserLoginRequest) ProtoMessage

func (*UserLoginRequest) ProtoMessage()

func (*UserLoginRequest) ProtoReflect

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

func (*UserLoginRequest) Reset

func (x *UserLoginRequest) Reset()

func (*UserLoginRequest) String

func (x *UserLoginRequest) String() string

type UserLogoutRequest

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

func (*UserLogoutRequest) Descriptor deprecated

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

Deprecated: Use UserLogoutRequest.ProtoReflect.Descriptor instead.

func (*UserLogoutRequest) ProtoMessage

func (*UserLogoutRequest) ProtoMessage()

func (*UserLogoutRequest) ProtoReflect

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

func (*UserLogoutRequest) Reset

func (x *UserLogoutRequest) Reset()

func (*UserLogoutRequest) String

func (x *UserLogoutRequest) String() string

type UserRegistrationRequest

type UserRegistrationRequest struct {
	Username         string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password         string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Email            string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	RegistrationCode string `protobuf:"bytes,4,opt,name=registration_code,json=registrationCode,proto3" json:"registration_code,omitempty"`
	BirthDate        string `protobuf:"bytes,5,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	FirstName        string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName         string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	CountryCode      string `protobuf:"bytes,8,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRegistrationRequest) Descriptor deprecated

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

Deprecated: Use UserRegistrationRequest.ProtoReflect.Descriptor instead.

func (*UserRegistrationRequest) GetBirthDate added in v0.1.3

func (x *UserRegistrationRequest) GetBirthDate() string

func (*UserRegistrationRequest) GetCountryCode added in v0.1.3

func (x *UserRegistrationRequest) GetCountryCode() string

func (*UserRegistrationRequest) GetEmail

func (x *UserRegistrationRequest) GetEmail() string

func (*UserRegistrationRequest) GetFirstName added in v0.1.3

func (x *UserRegistrationRequest) GetFirstName() string

func (*UserRegistrationRequest) GetLastName added in v0.1.3

func (x *UserRegistrationRequest) GetLastName() string

func (*UserRegistrationRequest) GetPassword

func (x *UserRegistrationRequest) GetPassword() string

func (*UserRegistrationRequest) GetRegistrationCode

func (x *UserRegistrationRequest) GetRegistrationCode() string

func (*UserRegistrationRequest) GetUsername

func (x *UserRegistrationRequest) GetUsername() string

func (*UserRegistrationRequest) ProtoMessage

func (*UserRegistrationRequest) ProtoMessage()

func (*UserRegistrationRequest) ProtoReflect

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

func (*UserRegistrationRequest) Reset

func (x *UserRegistrationRequest) Reset()

func (*UserRegistrationRequest) String

func (x *UserRegistrationRequest) String() string

type UsernameSearchRequest added in v0.1.2

type UsernameSearchRequest struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*UsernameSearchRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use UsernameSearchRequest.ProtoReflect.Descriptor instead.

func (*UsernameSearchRequest) GetPrefix added in v0.1.2

func (x *UsernameSearchRequest) GetPrefix() string

func (*UsernameSearchRequest) ProtoMessage added in v0.1.2

func (*UsernameSearchRequest) ProtoMessage()

func (*UsernameSearchRequest) ProtoReflect added in v0.1.2

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

func (*UsernameSearchRequest) Reset added in v0.1.2

func (x *UsernameSearchRequest) Reset()

func (*UsernameSearchRequest) String added in v0.1.2

func (x *UsernameSearchRequest) String() string

type UsernameSearchResponse added in v0.1.2

type UsernameSearchResponse struct {
	Users []*BasicUser `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UsernameSearchResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use UsernameSearchResponse.ProtoReflect.Descriptor instead.

func (*UsernameSearchResponse) GetUsers added in v0.1.3

func (x *UsernameSearchResponse) GetUsers() []*BasicUser

func (*UsernameSearchResponse) ProtoMessage added in v0.1.2

func (*UsernameSearchResponse) ProtoMessage()

func (*UsernameSearchResponse) ProtoReflect added in v0.1.2

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

func (*UsernameSearchResponse) Reset added in v0.1.2

func (x *UsernameSearchResponse) Reset()

func (*UsernameSearchResponse) String added in v0.1.2

func (x *UsernameSearchResponse) String() string

Jump to

Keyboard shortcuts

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