proto

package module
v0.0.0-...-4de854c Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 9 Imported by: 5

Documentation

Index

Constants

View Source
const (
	SocialListService_GetSocialList_FullMethodName        = "/proto.SocialListService/GetSocialList"
	SocialListService_AddToSocialList_FullMethodName      = "/proto.SocialListService/AddToSocialList"
	SocialListService_RemoveFromSocialList_FullMethodName = "/proto.SocialListService/RemoveFromSocialList"
)
View Source
const (
	AccountService_CreateAccount_FullMethodName = "/proto.AccountService/CreateAccount"
)
View Source
const (
	LoginService_Login_FullMethodName = "/proto.LoginService/Login"
)
View Source
const (
	MumbleService_Murmer_FullMethodName = "/proto.MumbleService/Murmer"
)

Variables

View Source
var (
	SocialListType_name = map[int32]string{
		0: "FOLLOW",
		1: "FRIEND",
		2: "BLOCKED",
	}
	SocialListType_value = map[string]int32{
		"FOLLOW":  0,
		"FRIEND":  1,
		"BLOCKED": 2,
	}
)

Enum value maps for SocialListType.

View Source
var AccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.AccountService",
	HandlerType: (*AccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAccount",
			Handler:    _AccountService_CreateAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/account.proto",
}

AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_proto_account_proto protoreflect.FileDescriptor
View Source
var File_proto_common_proto protoreflect.FileDescriptor
View Source
var File_proto_list_proto protoreflect.FileDescriptor
View Source
var File_proto_login_proto protoreflect.FileDescriptor
View Source
var File_proto_mumble_proto protoreflect.FileDescriptor
View Source
var LoginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.LoginService",
	HandlerType: (*LoginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _LoginService_Login_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/login.proto",
}

LoginService_ServiceDesc is the grpc.ServiceDesc for LoginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MumbleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.MumbleService",
	HandlerType: (*MumbleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Murmer",
			Handler:    _MumbleService_Murmer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/mumble.proto",
}

MumbleService_ServiceDesc is the grpc.ServiceDesc for MumbleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SocialListService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.SocialListService",
	HandlerType: (*SocialListServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSocialList",
			Handler:    _SocialListService_GetSocialList_Handler,
		},
		{
			MethodName: "AddToSocialList",
			Handler:    _SocialListService_AddToSocialList_Handler,
		},
		{
			MethodName: "RemoveFromSocialList",
			Handler:    _SocialListService_RemoveFromSocialList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/list.proto",
}

SocialListService_ServiceDesc is the grpc.ServiceDesc for SocialListService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAccountServiceServer

func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)

func RegisterLoginServiceServer

func RegisterLoginServiceServer(s grpc.ServiceRegistrar, srv LoginServiceServer)

func RegisterMumbleServiceServer

func RegisterMumbleServiceServer(s grpc.ServiceRegistrar, srv MumbleServiceServer)

func RegisterSocialListServiceServer

func RegisterSocialListServiceServer(s grpc.ServiceRegistrar, srv SocialListServiceServer)

Types

type AccountServiceClient

type AccountServiceClient interface {
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
}

AccountServiceClient is the client API for AccountService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AccountServiceServer

type AccountServiceServer interface {
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
	// contains filtered or unexported methods
}

AccountServiceServer is the server API for AccountService service. All implementations must embed UnimplementedAccountServiceServer for forward compatibility

type AddToSocialListRequest

type AddToSocialListRequest struct {
	UserId         string         `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SocialListType SocialListType `` /* 132-byte string literal not displayed */
	IdToAdd        string         `protobuf:"bytes,3,opt,name=id_to_add,json=idToAdd,proto3" json:"id_to_add,omitempty"`
	// contains filtered or unexported fields
}

func (*AddToSocialListRequest) Descriptor deprecated

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

Deprecated: Use AddToSocialListRequest.ProtoReflect.Descriptor instead.

func (*AddToSocialListRequest) GetIdToAdd

func (x *AddToSocialListRequest) GetIdToAdd() string

func (*AddToSocialListRequest) GetSocialListType

func (x *AddToSocialListRequest) GetSocialListType() SocialListType

func (*AddToSocialListRequest) GetUserId

func (x *AddToSocialListRequest) GetUserId() string

func (*AddToSocialListRequest) ProtoMessage

func (*AddToSocialListRequest) ProtoMessage()

func (*AddToSocialListRequest) ProtoReflect

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

func (*AddToSocialListRequest) Reset

func (x *AddToSocialListRequest) Reset()

func (*AddToSocialListRequest) String

func (x *AddToSocialListRequest) String() string

type AddToSocialListResponse

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

func (*AddToSocialListResponse) Descriptor deprecated

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

Deprecated: Use AddToSocialListResponse.ProtoReflect.Descriptor instead.

func (*AddToSocialListResponse) GetError

func (x *AddToSocialListResponse) GetError() *Error

func (*AddToSocialListResponse) GetMessage

func (x *AddToSocialListResponse) GetMessage() string

func (*AddToSocialListResponse) ProtoMessage

func (*AddToSocialListResponse) ProtoMessage()

func (*AddToSocialListResponse) ProtoReflect

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

func (*AddToSocialListResponse) Reset

func (x *AddToSocialListResponse) Reset()

func (*AddToSocialListResponse) String

func (x *AddToSocialListResponse) String() string

type ClientAddress

type ClientAddress struct {
	IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	Port      int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientAddress) Descriptor deprecated

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

Deprecated: Use ClientAddress.ProtoReflect.Descriptor instead.

func (*ClientAddress) GetIpAddress

func (x *ClientAddress) GetIpAddress() string

func (*ClientAddress) GetPort

func (x *ClientAddress) GetPort() int32

func (*ClientAddress) ProtoMessage

func (*ClientAddress) ProtoMessage()

func (*ClientAddress) ProtoReflect

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

func (*ClientAddress) Reset

func (x *ClientAddress) Reset()

func (*ClientAddress) String

func (x *ClientAddress) String() string

type CreateAccountRequest

type CreateAccountRequest 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
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) GetUsername

func (x *CreateAccountRequest) GetUsername() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountResponse

type CreateAccountResponse struct {
	Error     *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Message   string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	AccountId string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccountId

func (x *CreateAccountResponse) GetAccountId() string

func (*CreateAccountResponse) GetError

func (x *CreateAccountResponse) GetError() *Error

func (*CreateAccountResponse) GetMessage

func (x *CreateAccountResponse) GetMessage() string

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

type Error

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

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type GetSocialListRequest

type GetSocialListRequest struct {
	UserId   string         `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ListType SocialListType `protobuf:"varint,2,opt,name=list_type,json=listType,proto3,enum=proto.SocialListType" json:"list_type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSocialListRequest) Descriptor deprecated

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

Deprecated: Use GetSocialListRequest.ProtoReflect.Descriptor instead.

func (*GetSocialListRequest) GetListType

func (x *GetSocialListRequest) GetListType() SocialListType

func (*GetSocialListRequest) GetUserId

func (x *GetSocialListRequest) GetUserId() string

func (*GetSocialListRequest) ProtoMessage

func (*GetSocialListRequest) ProtoMessage()

func (*GetSocialListRequest) ProtoReflect

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

func (*GetSocialListRequest) Reset

func (x *GetSocialListRequest) Reset()

func (*GetSocialListRequest) String

func (x *GetSocialListRequest) String() string

type GetSocialListResponse

type GetSocialListResponse struct {
	Error *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Ids   []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSocialListResponse) Descriptor deprecated

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

Deprecated: Use GetSocialListResponse.ProtoReflect.Descriptor instead.

func (*GetSocialListResponse) GetError

func (x *GetSocialListResponse) GetError() *Error

func (*GetSocialListResponse) GetIds

func (x *GetSocialListResponse) GetIds() []string

func (*GetSocialListResponse) ProtoMessage

func (*GetSocialListResponse) ProtoMessage()

func (*GetSocialListResponse) ProtoReflect

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

func (*GetSocialListResponse) Reset

func (x *GetSocialListResponse) Reset()

func (*GetSocialListResponse) String

func (x *GetSocialListResponse) String() string

type LoginRequest

type LoginRequest 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"`
	ClientAddress *ClientAddress `protobuf:"bytes,3,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetClientAddress

func (x *LoginRequest) GetClientAddress() *ClientAddress

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Error     *Error            `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Message   string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	UserId    string            `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Follows   []*UserContact    `protobuf:"bytes,4,rep,name=follows,proto3" json:"follows,omitempty"`
	Following []*UserContact    `protobuf:"bytes,5,rep,name=following,proto3" json:"following,omitempty"`
	Blocked   []string          `protobuf:"bytes,6,rep,name=blocked,proto3" json:"blocked,omitempty"`
	Settings  map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetBlocked

func (x *LoginResponse) GetBlocked() []string

func (*LoginResponse) GetError

func (x *LoginResponse) GetError() *Error

func (*LoginResponse) GetFollowing

func (x *LoginResponse) GetFollowing() []*UserContact

func (*LoginResponse) GetFollows

func (x *LoginResponse) GetFollows() []*UserContact

func (*LoginResponse) GetMessage

func (x *LoginResponse) GetMessage() string

func (*LoginResponse) GetSettings

func (x *LoginResponse) GetSettings() map[string]string

func (*LoginResponse) GetUserId

func (x *LoginResponse) GetUserId() 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 LoginServiceClient

type LoginServiceClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
}

LoginServiceClient is the client API for LoginService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type LoginServiceServer

type LoginServiceServer interface {
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// contains filtered or unexported methods
}

LoginServiceServer is the server API for LoginService service. All implementations must embed UnimplementedLoginServiceServer for forward compatibility

type MumbleMurmer

type MumbleMurmer struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OwnerId    string                 `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	DistroList []string               `protobuf:"bytes,4,rep,name=distroList,proto3" json:"distroList,omitempty"`
	Data       []byte                 `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Signature  []byte                 `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*MumbleMurmer) Descriptor deprecated

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

Deprecated: Use MumbleMurmer.ProtoReflect.Descriptor instead.

func (*MumbleMurmer) GetData

func (x *MumbleMurmer) GetData() []byte

func (*MumbleMurmer) GetDistroList

func (x *MumbleMurmer) GetDistroList() []string

func (*MumbleMurmer) GetId

func (x *MumbleMurmer) GetId() string

func (*MumbleMurmer) GetOwnerId

func (x *MumbleMurmer) GetOwnerId() string

func (*MumbleMurmer) GetSignature

func (x *MumbleMurmer) GetSignature() []byte

func (*MumbleMurmer) GetTimestamp

func (x *MumbleMurmer) GetTimestamp() *timestamppb.Timestamp

func (*MumbleMurmer) ProtoMessage

func (*MumbleMurmer) ProtoMessage()

func (*MumbleMurmer) ProtoReflect

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

func (*MumbleMurmer) Reset

func (x *MumbleMurmer) Reset()

func (*MumbleMurmer) String

func (x *MumbleMurmer) String() string

type MumbleServiceClient

type MumbleServiceClient interface {
	Murmer(ctx context.Context, in *MurmerRequest, opts ...grpc.CallOption) (*MurmerResponse, error)
}

MumbleServiceClient is the client API for MumbleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MumbleServiceServer

type MumbleServiceServer interface {
	Murmer(context.Context, *MurmerRequest) (*MurmerResponse, error)
	// contains filtered or unexported methods
}

MumbleServiceServer is the server API for MumbleService service. All implementations must embed UnimplementedMumbleServiceServer for forward compatibility

type MurmerRequest

type MurmerRequest struct {
	Data *MumbleMurmer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MurmerRequest) Descriptor deprecated

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

Deprecated: Use MurmerRequest.ProtoReflect.Descriptor instead.

func (*MurmerRequest) GetData

func (x *MurmerRequest) GetData() *MumbleMurmer

func (*MurmerRequest) ProtoMessage

func (*MurmerRequest) ProtoMessage()

func (*MurmerRequest) ProtoReflect

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

func (*MurmerRequest) Reset

func (x *MurmerRequest) Reset()

func (*MurmerRequest) String

func (x *MurmerRequest) String() string

type MurmerResponse

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

func (*MurmerResponse) Descriptor deprecated

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

Deprecated: Use MurmerResponse.ProtoReflect.Descriptor instead.

func (*MurmerResponse) ProtoMessage

func (*MurmerResponse) ProtoMessage()

func (*MurmerResponse) ProtoReflect

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

func (*MurmerResponse) Reset

func (x *MurmerResponse) Reset()

func (*MurmerResponse) String

func (x *MurmerResponse) String() string

type RemoveFromSocialListRequest

type RemoveFromSocialListRequest struct {
	UserId         string         `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SocialListType SocialListType `` /* 132-byte string literal not displayed */
	IdToRemove     string         `protobuf:"bytes,3,opt,name=id_to_remove,json=idToRemove,proto3" json:"id_to_remove,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFromSocialListRequest) Descriptor deprecated

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

Deprecated: Use RemoveFromSocialListRequest.ProtoReflect.Descriptor instead.

func (*RemoveFromSocialListRequest) GetIdToRemove

func (x *RemoveFromSocialListRequest) GetIdToRemove() string

func (*RemoveFromSocialListRequest) GetSocialListType

func (x *RemoveFromSocialListRequest) GetSocialListType() SocialListType

func (*RemoveFromSocialListRequest) GetUserId

func (x *RemoveFromSocialListRequest) GetUserId() string

func (*RemoveFromSocialListRequest) ProtoMessage

func (*RemoveFromSocialListRequest) ProtoMessage()

func (*RemoveFromSocialListRequest) ProtoReflect

func (*RemoveFromSocialListRequest) Reset

func (x *RemoveFromSocialListRequest) Reset()

func (*RemoveFromSocialListRequest) String

func (x *RemoveFromSocialListRequest) String() string

type RemoveFromSocialListResponse

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

func (*RemoveFromSocialListResponse) Descriptor deprecated

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

Deprecated: Use RemoveFromSocialListResponse.ProtoReflect.Descriptor instead.

func (*RemoveFromSocialListResponse) GetError

func (x *RemoveFromSocialListResponse) GetError() *Error

func (*RemoveFromSocialListResponse) GetMessage

func (x *RemoveFromSocialListResponse) GetMessage() string

func (*RemoveFromSocialListResponse) ProtoMessage

func (*RemoveFromSocialListResponse) ProtoMessage()

func (*RemoveFromSocialListResponse) ProtoReflect

func (*RemoveFromSocialListResponse) Reset

func (x *RemoveFromSocialListResponse) Reset()

func (*RemoveFromSocialListResponse) String

type SocialListServiceClient

type SocialListServiceClient interface {
	GetSocialList(ctx context.Context, in *GetSocialListRequest, opts ...grpc.CallOption) (*GetSocialListResponse, error)
	AddToSocialList(ctx context.Context, in *AddToSocialListRequest, opts ...grpc.CallOption) (*AddToSocialListResponse, error)
	RemoveFromSocialList(ctx context.Context, in *RemoveFromSocialListRequest, opts ...grpc.CallOption) (*RemoveFromSocialListResponse, error)
}

SocialListServiceClient is the client API for SocialListService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SocialListServiceServer

type SocialListServiceServer interface {
	GetSocialList(context.Context, *GetSocialListRequest) (*GetSocialListResponse, error)
	AddToSocialList(context.Context, *AddToSocialListRequest) (*AddToSocialListResponse, error)
	RemoveFromSocialList(context.Context, *RemoveFromSocialListRequest) (*RemoveFromSocialListResponse, error)
	// contains filtered or unexported methods
}

SocialListServiceServer is the server API for SocialListService service. All implementations must embed UnimplementedSocialListServiceServer for forward compatibility

type SocialListType

type SocialListType int32
const (
	SocialListType_FOLLOW  SocialListType = 0
	SocialListType_FRIEND  SocialListType = 1
	SocialListType_BLOCKED SocialListType = 2
)

func (SocialListType) Descriptor

func (SocialListType) Enum

func (x SocialListType) Enum() *SocialListType

func (SocialListType) EnumDescriptor deprecated

func (SocialListType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SocialListType.Descriptor instead.

func (SocialListType) Number

func (SocialListType) String

func (x SocialListType) String() string

func (SocialListType) Type

type UnimplementedAccountServiceServer

type UnimplementedAccountServiceServer struct {
}

UnimplementedAccountServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountServiceServer) CreateAccount

type UnimplementedLoginServiceServer

type UnimplementedLoginServiceServer struct {
}

UnimplementedLoginServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLoginServiceServer) Login

type UnimplementedMumbleServiceServer

type UnimplementedMumbleServiceServer struct {
}

UnimplementedMumbleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMumbleServiceServer) Murmer

type UnimplementedSocialListServiceServer

type UnimplementedSocialListServiceServer struct {
}

UnimplementedSocialListServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSocialListServiceServer) AddToSocialList

func (UnimplementedSocialListServiceServer) GetSocialList

func (UnimplementedSocialListServiceServer) RemoveFromSocialList

type UnsafeAccountServiceServer

type UnsafeAccountServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.

type UnsafeLoginServiceServer

type UnsafeLoginServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLoginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginServiceServer will result in compilation errors.

type UnsafeMumbleServiceServer

type UnsafeMumbleServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMumbleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MumbleServiceServer will result in compilation errors.

type UnsafeSocialListServiceServer

type UnsafeSocialListServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSocialListServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SocialListServiceServer will result in compilation errors.

type UserContact

type UserContact struct {
	UserId        string         `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ClientAddress *ClientAddress `protobuf:"bytes,2,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"`
	// contains filtered or unexported fields
}

func (*UserContact) Descriptor deprecated

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

Deprecated: Use UserContact.ProtoReflect.Descriptor instead.

func (*UserContact) GetClientAddress

func (x *UserContact) GetClientAddress() *ClientAddress

func (*UserContact) GetUserId

func (x *UserContact) GetUserId() string

func (*UserContact) ProtoMessage

func (*UserContact) ProtoMessage()

func (*UserContact) ProtoReflect

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

func (*UserContact) Reset

func (x *UserContact) Reset()

func (*UserContact) String

func (x *UserContact) String() string

Jump to

Keyboard shortcuts

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