ssov1

package
v0.0.0-...-c8397cc Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "twitter.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _AuthService_Register_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _AuthService_Login_Handler,
		},
		{
			MethodName: "Verify",
			Handler:    _AuthService_Verify_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "twitter.proto",
}

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService 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 CacheService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "twitter.CacheService",
	HandlerType: (*CacheServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTweet",
			Handler:    _CacheService_CreateTweet_Handler,
		},
		{
			MethodName: "DeleteTweet",
			Handler:    _CacheService_DeleteTweet_Handler,
		},
		{
			MethodName: "FindTweetById",
			Handler:    _CacheService_FindTweetById_Handler,
		},
		{
			MethodName: "FindUserById",
			Handler:    _CacheService_FindUserById_Handler,
		},
		{
			MethodName: "SaveUser",
			Handler:    _CacheService_SaveUser_Handler,
		},
		{
			MethodName: "UpdateTweet",
			Handler:    _CacheService_UpdateTweet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "twitter.proto",
}

CacheService_ServiceDesc is the grpc.ServiceDesc for CacheService 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_twitter_proto protoreflect.FileDescriptor

Functions

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

func RegisterCacheServiceServer

func RegisterCacheServiceServer(s grpc.ServiceRegistrar, srv CacheServiceServer)

Types

type AuthServiceClient

type AuthServiceClient interface {
	// Register registers a new user.
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// Login logs in a user and returns an auth token.
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
}

AuthServiceClient is the client API for AuthService 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 AuthServiceServer

type AuthServiceServer interface {
	// Register registers a new user.
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// Login logs in a user and returns an auth token.
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
	// contains filtered or unexported methods
}

AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility

type CacheServiceClient

type CacheServiceClient interface {
	CreateTweet(ctx context.Context, in *CreateTweetRequest, opts ...grpc.CallOption) (*CreateTweetResponse, error)
	DeleteTweet(ctx context.Context, in *DeleteTweetRequest, opts ...grpc.CallOption) (*DeleteTweetResponse, error)
	FindTweetById(ctx context.Context, in *FindTweetByIdRequest, opts ...grpc.CallOption) (*FindTweetByIdResponse, error)
	FindUserById(ctx context.Context, in *FindUserByIdRequest, opts ...grpc.CallOption) (*FindUserByIdResponse, error)
	SaveUser(ctx context.Context, in *SaveUserRequest, opts ...grpc.CallOption) (*SaveUserResponse, error)
	UpdateTweet(ctx context.Context, in *UpdateTweetRequest, opts ...grpc.CallOption) (*UpdateTweetResponse, error)
}

CacheServiceClient is the client API for CacheService 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 CacheServiceServer

type CacheServiceServer interface {
	CreateTweet(context.Context, *CreateTweetRequest) (*CreateTweetResponse, error)
	DeleteTweet(context.Context, *DeleteTweetRequest) (*DeleteTweetResponse, error)
	FindTweetById(context.Context, *FindTweetByIdRequest) (*FindTweetByIdResponse, error)
	FindUserById(context.Context, *FindUserByIdRequest) (*FindUserByIdResponse, error)
	SaveUser(context.Context, *SaveUserRequest) (*SaveUserResponse, error)
	UpdateTweet(context.Context, *UpdateTweetRequest) (*UpdateTweetResponse, error)
	// contains filtered or unexported methods
}

CacheServiceServer is the server API for CacheService service. All implementations must embed UnimplementedCacheServiceServer for forward compatibility

type CreateTweetRequest

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

func (*CreateTweetRequest) Descriptor deprecated

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

Deprecated: Use CreateTweetRequest.ProtoReflect.Descriptor instead.

func (*CreateTweetRequest) GetContent

func (x *CreateTweetRequest) GetContent() string

func (*CreateTweetRequest) GetUsername

func (x *CreateTweetRequest) GetUsername() string

func (*CreateTweetRequest) ProtoMessage

func (*CreateTweetRequest) ProtoMessage()

func (*CreateTweetRequest) ProtoReflect

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

func (*CreateTweetRequest) Reset

func (x *CreateTweetRequest) Reset()

func (*CreateTweetRequest) String

func (x *CreateTweetRequest) String() string

type CreateTweetResponse

type CreateTweetResponse struct {
	Tweet *Tweet `protobuf:"bytes,1,opt,name=tweet,proto3" json:"tweet,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTweetResponse) Descriptor deprecated

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

Deprecated: Use CreateTweetResponse.ProtoReflect.Descriptor instead.

func (*CreateTweetResponse) GetTweet

func (x *CreateTweetResponse) GetTweet() *Tweet

func (*CreateTweetResponse) ProtoMessage

func (*CreateTweetResponse) ProtoMessage()

func (*CreateTweetResponse) ProtoReflect

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

func (*CreateTweetResponse) Reset

func (x *CreateTweetResponse) Reset()

func (*CreateTweetResponse) String

func (x *CreateTweetResponse) String() string

type DeleteTweetRequest

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

func (*DeleteTweetRequest) Descriptor deprecated

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

Deprecated: Use DeleteTweetRequest.ProtoReflect.Descriptor instead.

func (*DeleteTweetRequest) GetId

func (x *DeleteTweetRequest) GetId() string

func (*DeleteTweetRequest) ProtoMessage

func (*DeleteTweetRequest) ProtoMessage()

func (*DeleteTweetRequest) ProtoReflect

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

func (*DeleteTweetRequest) Reset

func (x *DeleteTweetRequest) Reset()

func (*DeleteTweetRequest) String

func (x *DeleteTweetRequest) String() string

type DeleteTweetResponse

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

func (*DeleteTweetResponse) Descriptor deprecated

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

Deprecated: Use DeleteTweetResponse.ProtoReflect.Descriptor instead.

func (*DeleteTweetResponse) GetId

func (x *DeleteTweetResponse) GetId() string

func (*DeleteTweetResponse) ProtoMessage

func (*DeleteTweetResponse) ProtoMessage()

func (*DeleteTweetResponse) ProtoReflect

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

func (*DeleteTweetResponse) Reset

func (x *DeleteTweetResponse) Reset()

func (*DeleteTweetResponse) String

func (x *DeleteTweetResponse) String() string

type FindTweetByIdRequest

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

func (*FindTweetByIdRequest) Descriptor deprecated

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

Deprecated: Use FindTweetByIdRequest.ProtoReflect.Descriptor instead.

func (*FindTweetByIdRequest) GetId

func (x *FindTweetByIdRequest) GetId() string

func (*FindTweetByIdRequest) ProtoMessage

func (*FindTweetByIdRequest) ProtoMessage()

func (*FindTweetByIdRequest) ProtoReflect

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

func (*FindTweetByIdRequest) Reset

func (x *FindTweetByIdRequest) Reset()

func (*FindTweetByIdRequest) String

func (x *FindTweetByIdRequest) String() string

type FindTweetByIdResponse

type FindTweetByIdResponse struct {
	Tweet *Tweet `protobuf:"bytes,1,opt,name=tweet,proto3" json:"tweet,omitempty"`
	// contains filtered or unexported fields
}

func (*FindTweetByIdResponse) Descriptor deprecated

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

Deprecated: Use FindTweetByIdResponse.ProtoReflect.Descriptor instead.

func (*FindTweetByIdResponse) GetTweet

func (x *FindTweetByIdResponse) GetTweet() *Tweet

func (*FindTweetByIdResponse) ProtoMessage

func (*FindTweetByIdResponse) ProtoMessage()

func (*FindTweetByIdResponse) ProtoReflect

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

func (*FindTweetByIdResponse) Reset

func (x *FindTweetByIdResponse) Reset()

func (*FindTweetByIdResponse) String

func (x *FindTweetByIdResponse) String() string

type FindUserByIdRequest

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

func (*FindUserByIdRequest) Descriptor deprecated

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

Deprecated: Use FindUserByIdRequest.ProtoReflect.Descriptor instead.

func (*FindUserByIdRequest) GetId

func (x *FindUserByIdRequest) GetId() string

func (*FindUserByIdRequest) ProtoMessage

func (*FindUserByIdRequest) ProtoMessage()

func (*FindUserByIdRequest) ProtoReflect

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

func (*FindUserByIdRequest) Reset

func (x *FindUserByIdRequest) Reset()

func (*FindUserByIdRequest) String

func (x *FindUserByIdRequest) String() string

type FindUserByIdResponse

type FindUserByIdResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserByIdResponse) Descriptor deprecated

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

Deprecated: Use FindUserByIdResponse.ProtoReflect.Descriptor instead.

func (*FindUserByIdResponse) GetUser

func (x *FindUserByIdResponse) GetUser() *User

func (*FindUserByIdResponse) ProtoMessage

func (*FindUserByIdResponse) ProtoMessage()

func (*FindUserByIdResponse) ProtoReflect

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

func (*FindUserByIdResponse) Reset

func (x *FindUserByIdResponse) Reset()

func (*FindUserByIdResponse) String

func (x *FindUserByIdResponse) 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"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

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 {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() 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 RegisterRequest

type RegisterRequest 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 (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

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

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetToken

func (x *RegisterResponse) GetToken() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type SaveUserRequest

type SaveUserRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	PassHash []byte `protobuf:"bytes,2,opt,name=pass_hash,json=passHash,proto3" json:"pass_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveUserRequest) Descriptor deprecated

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

Deprecated: Use SaveUserRequest.ProtoReflect.Descriptor instead.

func (*SaveUserRequest) GetPassHash

func (x *SaveUserRequest) GetPassHash() []byte

func (*SaveUserRequest) GetUsername

func (x *SaveUserRequest) GetUsername() string

func (*SaveUserRequest) ProtoMessage

func (*SaveUserRequest) ProtoMessage()

func (*SaveUserRequest) ProtoReflect

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

func (*SaveUserRequest) Reset

func (x *SaveUserRequest) Reset()

func (*SaveUserRequest) String

func (x *SaveUserRequest) String() string

type SaveUserResponse

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

func (*SaveUserResponse) Descriptor deprecated

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

Deprecated: Use SaveUserResponse.ProtoReflect.Descriptor instead.

func (*SaveUserResponse) GetUserId

func (x *SaveUserResponse) GetUserId() string

func (*SaveUserResponse) ProtoMessage

func (*SaveUserResponse) ProtoMessage()

func (*SaveUserResponse) ProtoReflect

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

func (*SaveUserResponse) Reset

func (x *SaveUserResponse) Reset()

func (*SaveUserResponse) String

func (x *SaveUserResponse) String() string

type Tweet

type Tweet struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Content   string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Username  string                 `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Tweet) Descriptor deprecated

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

Deprecated: Use Tweet.ProtoReflect.Descriptor instead.

func (*Tweet) GetContent

func (x *Tweet) GetContent() string

func (*Tweet) GetCreatedAt

func (x *Tweet) GetCreatedAt() *timestamppb.Timestamp

func (*Tweet) GetId

func (x *Tweet) GetId() string

func (*Tweet) GetUpdatedAt

func (x *Tweet) GetUpdatedAt() *timestamppb.Timestamp

func (*Tweet) GetUsername

func (x *Tweet) GetUsername() string

func (*Tweet) ProtoMessage

func (*Tweet) ProtoMessage()

func (*Tweet) ProtoReflect

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

func (*Tweet) Reset

func (x *Tweet) Reset()

func (*Tweet) String

func (x *Tweet) String() string

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) Login

func (UnimplementedAuthServiceServer) Register

func (UnimplementedAuthServiceServer) Verify

type UnimplementedCacheServiceServer

type UnimplementedCacheServiceServer struct {
}

UnimplementedCacheServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCacheServiceServer) CreateTweet

func (UnimplementedCacheServiceServer) DeleteTweet

func (UnimplementedCacheServiceServer) FindTweetById

func (UnimplementedCacheServiceServer) FindUserById

func (UnimplementedCacheServiceServer) SaveUser

func (UnimplementedCacheServiceServer) UpdateTweet

type UnsafeAuthServiceServer

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

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

type UnsafeCacheServiceServer

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

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

type UpdateTweetRequest

type UpdateTweetRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTweetRequest) Descriptor deprecated

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

Deprecated: Use UpdateTweetRequest.ProtoReflect.Descriptor instead.

func (*UpdateTweetRequest) GetContent

func (x *UpdateTweetRequest) GetContent() string

func (*UpdateTweetRequest) GetId

func (x *UpdateTweetRequest) GetId() string

func (*UpdateTweetRequest) ProtoMessage

func (*UpdateTweetRequest) ProtoMessage()

func (*UpdateTweetRequest) ProtoReflect

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

func (*UpdateTweetRequest) Reset

func (x *UpdateTweetRequest) Reset()

func (*UpdateTweetRequest) String

func (x *UpdateTweetRequest) String() string

type UpdateTweetResponse

type UpdateTweetResponse struct {
	Tweet *Tweet `protobuf:"bytes,1,opt,name=tweet,proto3" json:"tweet,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTweetResponse) Descriptor deprecated

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

Deprecated: Use UpdateTweetResponse.ProtoReflect.Descriptor instead.

func (*UpdateTweetResponse) GetTweet

func (x *UpdateTweetResponse) GetTweet() *Tweet

func (*UpdateTweetResponse) ProtoMessage

func (*UpdateTweetResponse) ProtoMessage()

func (*UpdateTweetResponse) ProtoReflect

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

func (*UpdateTweetResponse) Reset

func (x *UpdateTweetResponse) Reset()

func (*UpdateTweetResponse) String

func (x *UpdateTweetResponse) String() string

type User

type User struct {
	Username    string                 `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetDescription

func (x *User) GetDescription() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type VerifyRequest

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

func (*VerifyRequest) Descriptor deprecated

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

Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.

func (*VerifyRequest) GetToken

func (x *VerifyRequest) GetToken() string

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) ProtoReflect

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

func (*VerifyRequest) Reset

func (x *VerifyRequest) Reset()

func (*VerifyRequest) String

func (x *VerifyRequest) String() string

type VerifyResponse

type VerifyResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyResponse) Descriptor deprecated

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

Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.

func (*VerifyResponse) GetUser

func (x *VerifyResponse) GetUser() *User

func (*VerifyResponse) ProtoMessage

func (*VerifyResponse) ProtoMessage()

func (*VerifyResponse) ProtoReflect

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

func (*VerifyResponse) Reset

func (x *VerifyResponse) Reset()

func (*VerifyResponse) String

func (x *VerifyResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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