utils_v1

package
v0.0.0-...-52ddc4d Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 29 Imported by: 1

Documentation

Overview

Package utils_v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	SnowflakeService_NextHex_FullMethodName   = "/gommerce.utils.v1.SnowflakeService/NextHex"
	SnowflakeService_NextInt64_FullMethodName = "/gommerce.utils.v1.SnowflakeService/NextInt64"
)
View Source
const (
	PasswordService_GeneratePassword_FullMethodName = "/gommerce.utils.v1.PasswordService/GeneratePassword"
	PasswordService_HashPassword_FullMethodName     = "/gommerce.utils.v1.PasswordService/HashPassword"
	PasswordService_ValidatePassword_FullMethodName = "/gommerce.utils.v1.PasswordService/ValidatePassword"
)
View Source
const (
	DateTimeService_GetDBNow_FullMethodName      = "/gommerce.utils.v1.DateTimeService/GetDBNow"
	DateTimeService_GetRedisNow_FullMethodName   = "/gommerce.utils.v1.DateTimeService/GetRedisNow"
	DateTimeService_GetUTCNow_FullMethodName     = "/gommerce.utils.v1.DateTimeService/GetUTCNow"
	DateTimeService_GetLocalNow_FullMethodName   = "/gommerce.utils.v1.DateTimeService/GetLocalNow"
	DateTimeService_WatchLocalNow_FullMethodName = "/gommerce.utils.v1.DateTimeService/WatchLocalNow"
)
View Source
const (
	SequenceService_NextValue_FullMethodName = "/gommerce.utils.v1.SequenceService/NextValue"
)

Variables

View Source
var DateTimeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.utils.v1.DateTimeService",
	HandlerType: (*DateTimeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDBNow",
			Handler:    _DateTimeService_GetDBNow_Handler,
		},
		{
			MethodName: "GetRedisNow",
			Handler:    _DateTimeService_GetRedisNow_Handler,
		},
		{
			MethodName: "GetUTCNow",
			Handler:    _DateTimeService_GetUTCNow_Handler,
		},
		{
			MethodName: "GetLocalNow",
			Handler:    _DateTimeService_GetLocalNow_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchLocalNow",
			Handler:       _DateTimeService_WatchLocalNow_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "gommerce/utils/v1/utils.proto",
}

DateTimeService_ServiceDesc is the grpc.ServiceDesc for DateTimeService 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_gommerce_utils_v1_utils_proto protoreflect.FileDescriptor
View Source
var PasswordService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.utils.v1.PasswordService",
	HandlerType: (*PasswordServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GeneratePassword",
			Handler:    _PasswordService_GeneratePassword_Handler,
		},
		{
			MethodName: "HashPassword",
			Handler:    _PasswordService_HashPassword_Handler,
		},
		{
			MethodName: "ValidatePassword",
			Handler:    _PasswordService_ValidatePassword_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/utils/v1/utils.proto",
}

PasswordService_ServiceDesc is the grpc.ServiceDesc for PasswordService 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 SequenceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.utils.v1.SequenceService",
	HandlerType: (*SequenceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NextValue",
			Handler:    _SequenceService_NextValue_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/utils/v1/utils.proto",
}

SequenceService_ServiceDesc is the grpc.ServiceDesc for SequenceService 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 SnowflakeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.utils.v1.SnowflakeService",
	HandlerType: (*SnowflakeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NextHex",
			Handler:    _SnowflakeService_NextHex_Handler,
		},
		{
			MethodName: "NextInt64",
			Handler:    _SnowflakeService_NextInt64_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/utils/v1/utils.proto",
}

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

Functions

func RegisterDateTimeServiceHandler

func RegisterDateTimeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDateTimeServiceHandler registers the http handlers for service DateTimeService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDateTimeServiceHandlerClient

func RegisterDateTimeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DateTimeServiceClient) error

RegisterDateTimeServiceHandlerClient registers the http handlers for service DateTimeService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DateTimeServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DateTimeServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DateTimeServiceClient" to call the correct interceptors.

func RegisterDateTimeServiceHandlerFromEndpoint

func RegisterDateTimeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDateTimeServiceHandlerFromEndpoint is same as RegisterDateTimeServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDateTimeServiceHandlerServer

func RegisterDateTimeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DateTimeServiceServer) error

RegisterDateTimeServiceHandlerServer registers the http handlers for service DateTimeService to "mux". UnaryRPC :call DateTimeServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDateTimeServiceHandlerFromEndpoint instead.

func RegisterDateTimeServiceServer

func RegisterDateTimeServiceServer(s grpc.ServiceRegistrar, srv DateTimeServiceServer)

func RegisterPasswordServiceHandler

func RegisterPasswordServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPasswordServiceHandler registers the http handlers for service PasswordService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPasswordServiceHandlerClient

func RegisterPasswordServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PasswordServiceClient) error

RegisterPasswordServiceHandlerClient registers the http handlers for service PasswordService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PasswordServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PasswordServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PasswordServiceClient" to call the correct interceptors.

func RegisterPasswordServiceHandlerFromEndpoint

func RegisterPasswordServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPasswordServiceHandlerFromEndpoint is same as RegisterPasswordServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPasswordServiceHandlerServer

func RegisterPasswordServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PasswordServiceServer) error

RegisterPasswordServiceHandlerServer registers the http handlers for service PasswordService to "mux". UnaryRPC :call PasswordServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPasswordServiceHandlerFromEndpoint instead.

func RegisterPasswordServiceServer

func RegisterPasswordServiceServer(s grpc.ServiceRegistrar, srv PasswordServiceServer)

func RegisterSequenceServiceHandler

func RegisterSequenceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSequenceServiceHandler registers the http handlers for service SequenceService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSequenceServiceHandlerClient

func RegisterSequenceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SequenceServiceClient) error

RegisterSequenceServiceHandlerClient registers the http handlers for service SequenceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SequenceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SequenceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SequenceServiceClient" to call the correct interceptors.

func RegisterSequenceServiceHandlerFromEndpoint

func RegisterSequenceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSequenceServiceHandlerFromEndpoint is same as RegisterSequenceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSequenceServiceHandlerServer

func RegisterSequenceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SequenceServiceServer) error

RegisterSequenceServiceHandlerServer registers the http handlers for service SequenceService to "mux". UnaryRPC :call SequenceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSequenceServiceHandlerFromEndpoint instead.

func RegisterSequenceServiceServer

func RegisterSequenceServiceServer(s grpc.ServiceRegistrar, srv SequenceServiceServer)

func RegisterSnowflakeServiceHandler

func RegisterSnowflakeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSnowflakeServiceHandler registers the http handlers for service SnowflakeService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSnowflakeServiceHandlerClient

func RegisterSnowflakeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SnowflakeServiceClient) error

RegisterSnowflakeServiceHandlerClient registers the http handlers for service SnowflakeService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SnowflakeServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SnowflakeServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SnowflakeServiceClient" to call the correct interceptors.

func RegisterSnowflakeServiceHandlerFromEndpoint

func RegisterSnowflakeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSnowflakeServiceHandlerFromEndpoint is same as RegisterSnowflakeServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSnowflakeServiceHandlerServer

func RegisterSnowflakeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SnowflakeServiceServer) error

RegisterSnowflakeServiceHandlerServer registers the http handlers for service SnowflakeService to "mux". UnaryRPC :call SnowflakeServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSnowflakeServiceHandlerFromEndpoint instead.

func RegisterSnowflakeServiceServer

func RegisterSnowflakeServiceServer(s grpc.ServiceRegistrar, srv SnowflakeServiceServer)

Types

type DateTimeServiceClient

type DateTimeServiceClient interface {
	GetDBNow(ctx context.Context, in *GetDBNowRequest, opts ...grpc.CallOption) (*GetDBNowResponse, error)
	GetRedisNow(ctx context.Context, in *GetRedisNowRequest, opts ...grpc.CallOption) (*GetRedisNowResponse, error)
	GetUTCNow(ctx context.Context, in *GetUTCNowRequest, opts ...grpc.CallOption) (*GetUTCNowResponse, error)
	GetLocalNow(ctx context.Context, in *GetLocalNowRequest, opts ...grpc.CallOption) (*GetLocalNowResponse, error)
	WatchLocalNow(ctx context.Context, in *WatchLocalNowRequest, opts ...grpc.CallOption) (DateTimeService_WatchLocalNowClient, error)
}

DateTimeServiceClient is the client API for DateTimeService 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 DateTimeServiceServer

type DateTimeServiceServer interface {
	GetDBNow(context.Context, *GetDBNowRequest) (*GetDBNowResponse, error)
	GetRedisNow(context.Context, *GetRedisNowRequest) (*GetRedisNowResponse, error)
	GetUTCNow(context.Context, *GetUTCNowRequest) (*GetUTCNowResponse, error)
	GetLocalNow(context.Context, *GetLocalNowRequest) (*GetLocalNowResponse, error)
	WatchLocalNow(*WatchLocalNowRequest, DateTimeService_WatchLocalNowServer) error
	// contains filtered or unexported methods
}

DateTimeServiceServer is the server API for DateTimeService service. All implementations must embed UnimplementedDateTimeServiceServer for forward compatibility

type DateTimeService_WatchLocalNowClient

type DateTimeService_WatchLocalNowClient interface {
	Recv() (*WatchLocalNowResponse, error)
	grpc.ClientStream
}

type DateTimeService_WatchLocalNowServer

type DateTimeService_WatchLocalNowServer interface {
	Send(*WatchLocalNowResponse) error
	grpc.ServerStream
}

type GeneratePasswordRequest

type GeneratePasswordRequest struct {
	Length  int32  `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	Symbols string `protobuf:"bytes,2,opt,name=symbols,proto3" json:"symbols,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratePasswordRequest) Descriptor deprecated

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

Deprecated: Use GeneratePasswordRequest.ProtoReflect.Descriptor instead.

func (*GeneratePasswordRequest) GetLength

func (x *GeneratePasswordRequest) GetLength() int32

func (*GeneratePasswordRequest) GetSymbols

func (x *GeneratePasswordRequest) GetSymbols() string

func (*GeneratePasswordRequest) ProtoMessage

func (*GeneratePasswordRequest) ProtoMessage()

func (*GeneratePasswordRequest) ProtoReflect

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

func (*GeneratePasswordRequest) Reset

func (x *GeneratePasswordRequest) Reset()

func (*GeneratePasswordRequest) String

func (x *GeneratePasswordRequest) String() string

func (*GeneratePasswordRequest) Validate

func (m *GeneratePasswordRequest) Validate() error

Validate checks the field values on GeneratePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GeneratePasswordRequest) ValidateAll

func (m *GeneratePasswordRequest) ValidateAll() error

ValidateAll checks the field values on GeneratePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GeneratePasswordRequestMultiError, or nil if none found.

type GeneratePasswordRequestMultiError

type GeneratePasswordRequestMultiError []error

GeneratePasswordRequestMultiError is an error wrapping multiple validation errors returned by GeneratePasswordRequest.ValidateAll() if the designated constraints aren't met.

func (GeneratePasswordRequestMultiError) AllErrors

func (m GeneratePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GeneratePasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GeneratePasswordRequestValidationError

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

GeneratePasswordRequestValidationError is the validation error returned by GeneratePasswordRequest.Validate if the designated constraints aren't met.

func (GeneratePasswordRequestValidationError) Cause

Cause function returns cause value.

func (GeneratePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (GeneratePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (GeneratePasswordRequestValidationError) Field

Field function returns field value.

func (GeneratePasswordRequestValidationError) Key

Key function returns key value.

func (GeneratePasswordRequestValidationError) Reason

Reason function returns reason value.

type GeneratePasswordResponse

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

func (*GeneratePasswordResponse) Descriptor deprecated

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

Deprecated: Use GeneratePasswordResponse.ProtoReflect.Descriptor instead.

func (*GeneratePasswordResponse) GetValue

func (x *GeneratePasswordResponse) GetValue() string

func (*GeneratePasswordResponse) ProtoMessage

func (*GeneratePasswordResponse) ProtoMessage()

func (*GeneratePasswordResponse) ProtoReflect

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

func (*GeneratePasswordResponse) Reset

func (x *GeneratePasswordResponse) Reset()

func (*GeneratePasswordResponse) String

func (x *GeneratePasswordResponse) String() string

func (*GeneratePasswordResponse) Validate

func (m *GeneratePasswordResponse) Validate() error

Validate checks the field values on GeneratePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GeneratePasswordResponse) ValidateAll

func (m *GeneratePasswordResponse) ValidateAll() error

ValidateAll checks the field values on GeneratePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GeneratePasswordResponseMultiError, or nil if none found.

type GeneratePasswordResponseMultiError

type GeneratePasswordResponseMultiError []error

GeneratePasswordResponseMultiError is an error wrapping multiple validation errors returned by GeneratePasswordResponse.ValidateAll() if the designated constraints aren't met.

func (GeneratePasswordResponseMultiError) AllErrors

func (m GeneratePasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GeneratePasswordResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GeneratePasswordResponseValidationError

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

GeneratePasswordResponseValidationError is the validation error returned by GeneratePasswordResponse.Validate if the designated constraints aren't met.

func (GeneratePasswordResponseValidationError) Cause

Cause function returns cause value.

func (GeneratePasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (GeneratePasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (GeneratePasswordResponseValidationError) Field

Field function returns field value.

func (GeneratePasswordResponseValidationError) Key

Key function returns key value.

func (GeneratePasswordResponseValidationError) Reason

Reason function returns reason value.

type GetDBNowRequest

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

func (*GetDBNowRequest) Descriptor deprecated

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

Deprecated: Use GetDBNowRequest.ProtoReflect.Descriptor instead.

func (*GetDBNowRequest) ProtoMessage

func (*GetDBNowRequest) ProtoMessage()

func (*GetDBNowRequest) ProtoReflect

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

func (*GetDBNowRequest) Reset

func (x *GetDBNowRequest) Reset()

func (*GetDBNowRequest) String

func (x *GetDBNowRequest) String() string

func (*GetDBNowRequest) Validate

func (m *GetDBNowRequest) Validate() error

Validate checks the field values on GetDBNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetDBNowRequest) ValidateAll

func (m *GetDBNowRequest) ValidateAll() error

ValidateAll checks the field values on GetDBNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDBNowRequestMultiError, or nil if none found.

type GetDBNowRequestMultiError

type GetDBNowRequestMultiError []error

GetDBNowRequestMultiError is an error wrapping multiple validation errors returned by GetDBNowRequest.ValidateAll() if the designated constraints aren't met.

func (GetDBNowRequestMultiError) AllErrors

func (m GetDBNowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDBNowRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetDBNowRequestValidationError

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

GetDBNowRequestValidationError is the validation error returned by GetDBNowRequest.Validate if the designated constraints aren't met.

func (GetDBNowRequestValidationError) Cause

Cause function returns cause value.

func (GetDBNowRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDBNowRequestValidationError) ErrorName

func (e GetDBNowRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetDBNowRequestValidationError) Field

Field function returns field value.

func (GetDBNowRequestValidationError) Key

Key function returns key value.

func (GetDBNowRequestValidationError) Reason

Reason function returns reason value.

type GetDBNowResponse

type GetDBNowResponse struct {
	Value *tsoffset.TimestampOffset `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDBNowResponse) Descriptor deprecated

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

Deprecated: Use GetDBNowResponse.ProtoReflect.Descriptor instead.

func (*GetDBNowResponse) GetValue

func (x *GetDBNowResponse) GetValue() *tsoffset.TimestampOffset

func (*GetDBNowResponse) ProtoMessage

func (*GetDBNowResponse) ProtoMessage()

func (*GetDBNowResponse) ProtoReflect

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

func (*GetDBNowResponse) Reset

func (x *GetDBNowResponse) Reset()

func (*GetDBNowResponse) String

func (x *GetDBNowResponse) String() string

func (*GetDBNowResponse) Validate

func (m *GetDBNowResponse) Validate() error

Validate checks the field values on GetDBNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetDBNowResponse) ValidateAll

func (m *GetDBNowResponse) ValidateAll() error

ValidateAll checks the field values on GetDBNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDBNowResponseMultiError, or nil if none found.

type GetDBNowResponseMultiError

type GetDBNowResponseMultiError []error

GetDBNowResponseMultiError is an error wrapping multiple validation errors returned by GetDBNowResponse.ValidateAll() if the designated constraints aren't met.

func (GetDBNowResponseMultiError) AllErrors

func (m GetDBNowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDBNowResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetDBNowResponseValidationError

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

GetDBNowResponseValidationError is the validation error returned by GetDBNowResponse.Validate if the designated constraints aren't met.

func (GetDBNowResponseValidationError) Cause

Cause function returns cause value.

func (GetDBNowResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDBNowResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDBNowResponseValidationError) Field

Field function returns field value.

func (GetDBNowResponseValidationError) Key

Key function returns key value.

func (GetDBNowResponseValidationError) Reason

Reason function returns reason value.

type GetLocalNowRequest

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

func (*GetLocalNowRequest) Descriptor deprecated

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

Deprecated: Use GetLocalNowRequest.ProtoReflect.Descriptor instead.

func (*GetLocalNowRequest) ProtoMessage

func (*GetLocalNowRequest) ProtoMessage()

func (*GetLocalNowRequest) ProtoReflect

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

func (*GetLocalNowRequest) Reset

func (x *GetLocalNowRequest) Reset()

func (*GetLocalNowRequest) String

func (x *GetLocalNowRequest) String() string

func (*GetLocalNowRequest) Validate

func (m *GetLocalNowRequest) Validate() error

Validate checks the field values on GetLocalNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetLocalNowRequest) ValidateAll

func (m *GetLocalNowRequest) ValidateAll() error

ValidateAll checks the field values on GetLocalNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetLocalNowRequestMultiError, or nil if none found.

type GetLocalNowRequestMultiError

type GetLocalNowRequestMultiError []error

GetLocalNowRequestMultiError is an error wrapping multiple validation errors returned by GetLocalNowRequest.ValidateAll() if the designated constraints aren't met.

func (GetLocalNowRequestMultiError) AllErrors

func (m GetLocalNowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLocalNowRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLocalNowRequestValidationError

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

GetLocalNowRequestValidationError is the validation error returned by GetLocalNowRequest.Validate if the designated constraints aren't met.

func (GetLocalNowRequestValidationError) Cause

Cause function returns cause value.

func (GetLocalNowRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLocalNowRequestValidationError) ErrorName

ErrorName returns error name.

func (GetLocalNowRequestValidationError) Field

Field function returns field value.

func (GetLocalNowRequestValidationError) Key

Key function returns key value.

func (GetLocalNowRequestValidationError) Reason

Reason function returns reason value.

type GetLocalNowResponse

type GetLocalNowResponse struct {
	Value *tsoffset.TimestampOffset `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLocalNowResponse) Descriptor deprecated

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

Deprecated: Use GetLocalNowResponse.ProtoReflect.Descriptor instead.

func (*GetLocalNowResponse) GetValue

func (*GetLocalNowResponse) ProtoMessage

func (*GetLocalNowResponse) ProtoMessage()

func (*GetLocalNowResponse) ProtoReflect

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

func (*GetLocalNowResponse) Reset

func (x *GetLocalNowResponse) Reset()

func (*GetLocalNowResponse) String

func (x *GetLocalNowResponse) String() string

func (*GetLocalNowResponse) Validate

func (m *GetLocalNowResponse) Validate() error

Validate checks the field values on GetLocalNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetLocalNowResponse) ValidateAll

func (m *GetLocalNowResponse) ValidateAll() error

ValidateAll checks the field values on GetLocalNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetLocalNowResponseMultiError, or nil if none found.

type GetLocalNowResponseMultiError

type GetLocalNowResponseMultiError []error

GetLocalNowResponseMultiError is an error wrapping multiple validation errors returned by GetLocalNowResponse.ValidateAll() if the designated constraints aren't met.

func (GetLocalNowResponseMultiError) AllErrors

func (m GetLocalNowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLocalNowResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLocalNowResponseValidationError

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

GetLocalNowResponseValidationError is the validation error returned by GetLocalNowResponse.Validate if the designated constraints aren't met.

func (GetLocalNowResponseValidationError) Cause

Cause function returns cause value.

func (GetLocalNowResponseValidationError) Error

Error satisfies the builtin error interface

func (GetLocalNowResponseValidationError) ErrorName

ErrorName returns error name.

func (GetLocalNowResponseValidationError) Field

Field function returns field value.

func (GetLocalNowResponseValidationError) Key

Key function returns key value.

func (GetLocalNowResponseValidationError) Reason

Reason function returns reason value.

type GetRedisNowRequest

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

func (*GetRedisNowRequest) Descriptor deprecated

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

Deprecated: Use GetRedisNowRequest.ProtoReflect.Descriptor instead.

func (*GetRedisNowRequest) ProtoMessage

func (*GetRedisNowRequest) ProtoMessage()

func (*GetRedisNowRequest) ProtoReflect

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

func (*GetRedisNowRequest) Reset

func (x *GetRedisNowRequest) Reset()

func (*GetRedisNowRequest) String

func (x *GetRedisNowRequest) String() string

func (*GetRedisNowRequest) Validate

func (m *GetRedisNowRequest) Validate() error

Validate checks the field values on GetRedisNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRedisNowRequest) ValidateAll

func (m *GetRedisNowRequest) ValidateAll() error

ValidateAll checks the field values on GetRedisNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRedisNowRequestMultiError, or nil if none found.

type GetRedisNowRequestMultiError

type GetRedisNowRequestMultiError []error

GetRedisNowRequestMultiError is an error wrapping multiple validation errors returned by GetRedisNowRequest.ValidateAll() if the designated constraints aren't met.

func (GetRedisNowRequestMultiError) AllErrors

func (m GetRedisNowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRedisNowRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRedisNowRequestValidationError

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

GetRedisNowRequestValidationError is the validation error returned by GetRedisNowRequest.Validate if the designated constraints aren't met.

func (GetRedisNowRequestValidationError) Cause

Cause function returns cause value.

func (GetRedisNowRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRedisNowRequestValidationError) ErrorName

ErrorName returns error name.

func (GetRedisNowRequestValidationError) Field

Field function returns field value.

func (GetRedisNowRequestValidationError) Key

Key function returns key value.

func (GetRedisNowRequestValidationError) Reason

Reason function returns reason value.

type GetRedisNowResponse

type GetRedisNowResponse struct {
	Value *tsoffset.TimestampOffset `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRedisNowResponse) Descriptor deprecated

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

Deprecated: Use GetRedisNowResponse.ProtoReflect.Descriptor instead.

func (*GetRedisNowResponse) GetValue

func (*GetRedisNowResponse) ProtoMessage

func (*GetRedisNowResponse) ProtoMessage()

func (*GetRedisNowResponse) ProtoReflect

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

func (*GetRedisNowResponse) Reset

func (x *GetRedisNowResponse) Reset()

func (*GetRedisNowResponse) String

func (x *GetRedisNowResponse) String() string

func (*GetRedisNowResponse) Validate

func (m *GetRedisNowResponse) Validate() error

Validate checks the field values on GetRedisNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRedisNowResponse) ValidateAll

func (m *GetRedisNowResponse) ValidateAll() error

ValidateAll checks the field values on GetRedisNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRedisNowResponseMultiError, or nil if none found.

type GetRedisNowResponseMultiError

type GetRedisNowResponseMultiError []error

GetRedisNowResponseMultiError is an error wrapping multiple validation errors returned by GetRedisNowResponse.ValidateAll() if the designated constraints aren't met.

func (GetRedisNowResponseMultiError) AllErrors

func (m GetRedisNowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRedisNowResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRedisNowResponseValidationError

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

GetRedisNowResponseValidationError is the validation error returned by GetRedisNowResponse.Validate if the designated constraints aren't met.

func (GetRedisNowResponseValidationError) Cause

Cause function returns cause value.

func (GetRedisNowResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRedisNowResponseValidationError) ErrorName

ErrorName returns error name.

func (GetRedisNowResponseValidationError) Field

Field function returns field value.

func (GetRedisNowResponseValidationError) Key

Key function returns key value.

func (GetRedisNowResponseValidationError) Reason

Reason function returns reason value.

type GetUTCNowRequest

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

func (*GetUTCNowRequest) Descriptor deprecated

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

Deprecated: Use GetUTCNowRequest.ProtoReflect.Descriptor instead.

func (*GetUTCNowRequest) ProtoMessage

func (*GetUTCNowRequest) ProtoMessage()

func (*GetUTCNowRequest) ProtoReflect

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

func (*GetUTCNowRequest) Reset

func (x *GetUTCNowRequest) Reset()

func (*GetUTCNowRequest) String

func (x *GetUTCNowRequest) String() string

func (*GetUTCNowRequest) Validate

func (m *GetUTCNowRequest) Validate() error

Validate checks the field values on GetUTCNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUTCNowRequest) ValidateAll

func (m *GetUTCNowRequest) ValidateAll() error

ValidateAll checks the field values on GetUTCNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUTCNowRequestMultiError, or nil if none found.

type GetUTCNowRequestMultiError

type GetUTCNowRequestMultiError []error

GetUTCNowRequestMultiError is an error wrapping multiple validation errors returned by GetUTCNowRequest.ValidateAll() if the designated constraints aren't met.

func (GetUTCNowRequestMultiError) AllErrors

func (m GetUTCNowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUTCNowRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUTCNowRequestValidationError

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

GetUTCNowRequestValidationError is the validation error returned by GetUTCNowRequest.Validate if the designated constraints aren't met.

func (GetUTCNowRequestValidationError) Cause

Cause function returns cause value.

func (GetUTCNowRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUTCNowRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUTCNowRequestValidationError) Field

Field function returns field value.

func (GetUTCNowRequestValidationError) Key

Key function returns key value.

func (GetUTCNowRequestValidationError) Reason

Reason function returns reason value.

type GetUTCNowResponse

type GetUTCNowResponse struct {
	Value *tsoffset.TimestampOffset `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUTCNowResponse) Descriptor deprecated

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

Deprecated: Use GetUTCNowResponse.ProtoReflect.Descriptor instead.

func (*GetUTCNowResponse) GetValue

func (*GetUTCNowResponse) ProtoMessage

func (*GetUTCNowResponse) ProtoMessage()

func (*GetUTCNowResponse) ProtoReflect

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

func (*GetUTCNowResponse) Reset

func (x *GetUTCNowResponse) Reset()

func (*GetUTCNowResponse) String

func (x *GetUTCNowResponse) String() string

func (*GetUTCNowResponse) Validate

func (m *GetUTCNowResponse) Validate() error

Validate checks the field values on GetUTCNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUTCNowResponse) ValidateAll

func (m *GetUTCNowResponse) ValidateAll() error

ValidateAll checks the field values on GetUTCNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUTCNowResponseMultiError, or nil if none found.

type GetUTCNowResponseMultiError

type GetUTCNowResponseMultiError []error

GetUTCNowResponseMultiError is an error wrapping multiple validation errors returned by GetUTCNowResponse.ValidateAll() if the designated constraints aren't met.

func (GetUTCNowResponseMultiError) AllErrors

func (m GetUTCNowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUTCNowResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUTCNowResponseValidationError

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

GetUTCNowResponseValidationError is the validation error returned by GetUTCNowResponse.Validate if the designated constraints aren't met.

func (GetUTCNowResponseValidationError) Cause

Cause function returns cause value.

func (GetUTCNowResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUTCNowResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUTCNowResponseValidationError) Field

Field function returns field value.

func (GetUTCNowResponseValidationError) Key

Key function returns key value.

func (GetUTCNowResponseValidationError) Reason

Reason function returns reason value.

type HashPasswordRequest

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

func (*HashPasswordRequest) Descriptor deprecated

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

Deprecated: Use HashPasswordRequest.ProtoReflect.Descriptor instead.

func (*HashPasswordRequest) GetValue

func (x *HashPasswordRequest) GetValue() string

func (*HashPasswordRequest) ProtoMessage

func (*HashPasswordRequest) ProtoMessage()

func (*HashPasswordRequest) ProtoReflect

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

func (*HashPasswordRequest) Reset

func (x *HashPasswordRequest) Reset()

func (*HashPasswordRequest) String

func (x *HashPasswordRequest) String() string

func (*HashPasswordRequest) Validate

func (m *HashPasswordRequest) Validate() error

Validate checks the field values on HashPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HashPasswordRequest) ValidateAll

func (m *HashPasswordRequest) ValidateAll() error

ValidateAll checks the field values on HashPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HashPasswordRequestMultiError, or nil if none found.

type HashPasswordRequestMultiError

type HashPasswordRequestMultiError []error

HashPasswordRequestMultiError is an error wrapping multiple validation errors returned by HashPasswordRequest.ValidateAll() if the designated constraints aren't met.

func (HashPasswordRequestMultiError) AllErrors

func (m HashPasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HashPasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type HashPasswordRequestValidationError

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

HashPasswordRequestValidationError is the validation error returned by HashPasswordRequest.Validate if the designated constraints aren't met.

func (HashPasswordRequestValidationError) Cause

Cause function returns cause value.

func (HashPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (HashPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (HashPasswordRequestValidationError) Field

Field function returns field value.

func (HashPasswordRequestValidationError) Key

Key function returns key value.

func (HashPasswordRequestValidationError) Reason

Reason function returns reason value.

type HashPasswordResponse

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

func (*HashPasswordResponse) Descriptor deprecated

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

Deprecated: Use HashPasswordResponse.ProtoReflect.Descriptor instead.

func (*HashPasswordResponse) GetValue

func (x *HashPasswordResponse) GetValue() string

func (*HashPasswordResponse) ProtoMessage

func (*HashPasswordResponse) ProtoMessage()

func (*HashPasswordResponse) ProtoReflect

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

func (*HashPasswordResponse) Reset

func (x *HashPasswordResponse) Reset()

func (*HashPasswordResponse) String

func (x *HashPasswordResponse) String() string

func (*HashPasswordResponse) Validate

func (m *HashPasswordResponse) Validate() error

Validate checks the field values on HashPasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HashPasswordResponse) ValidateAll

func (m *HashPasswordResponse) ValidateAll() error

ValidateAll checks the field values on HashPasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HashPasswordResponseMultiError, or nil if none found.

type HashPasswordResponseMultiError

type HashPasswordResponseMultiError []error

HashPasswordResponseMultiError is an error wrapping multiple validation errors returned by HashPasswordResponse.ValidateAll() if the designated constraints aren't met.

func (HashPasswordResponseMultiError) AllErrors

func (m HashPasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HashPasswordResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type HashPasswordResponseValidationError

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

HashPasswordResponseValidationError is the validation error returned by HashPasswordResponse.Validate if the designated constraints aren't met.

func (HashPasswordResponseValidationError) Cause

Cause function returns cause value.

func (HashPasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (HashPasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (HashPasswordResponseValidationError) Field

Field function returns field value.

func (HashPasswordResponseValidationError) Key

Key function returns key value.

func (HashPasswordResponseValidationError) Reason

Reason function returns reason value.

type NextHexRequest

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

func (*NextHexRequest) Descriptor deprecated

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

Deprecated: Use NextHexRequest.ProtoReflect.Descriptor instead.

func (*NextHexRequest) ProtoMessage

func (*NextHexRequest) ProtoMessage()

func (*NextHexRequest) ProtoReflect

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

func (*NextHexRequest) Reset

func (x *NextHexRequest) Reset()

func (*NextHexRequest) String

func (x *NextHexRequest) String() string

func (*NextHexRequest) Validate

func (m *NextHexRequest) Validate() error

Validate checks the field values on NextHexRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextHexRequest) ValidateAll

func (m *NextHexRequest) ValidateAll() error

ValidateAll checks the field values on NextHexRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextHexRequestMultiError, or nil if none found.

type NextHexRequestMultiError

type NextHexRequestMultiError []error

NextHexRequestMultiError is an error wrapping multiple validation errors returned by NextHexRequest.ValidateAll() if the designated constraints aren't met.

func (NextHexRequestMultiError) AllErrors

func (m NextHexRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextHexRequestMultiError) Error

func (m NextHexRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NextHexRequestValidationError

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

NextHexRequestValidationError is the validation error returned by NextHexRequest.Validate if the designated constraints aren't met.

func (NextHexRequestValidationError) Cause

Cause function returns cause value.

func (NextHexRequestValidationError) Error

Error satisfies the builtin error interface

func (NextHexRequestValidationError) ErrorName

func (e NextHexRequestValidationError) ErrorName() string

ErrorName returns error name.

func (NextHexRequestValidationError) Field

Field function returns field value.

func (NextHexRequestValidationError) Key

Key function returns key value.

func (NextHexRequestValidationError) Reason

Reason function returns reason value.

type NextHexResponse

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

func (*NextHexResponse) Descriptor deprecated

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

Deprecated: Use NextHexResponse.ProtoReflect.Descriptor instead.

func (*NextHexResponse) GetValue

func (x *NextHexResponse) GetValue() string

func (*NextHexResponse) ProtoMessage

func (*NextHexResponse) ProtoMessage()

func (*NextHexResponse) ProtoReflect

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

func (*NextHexResponse) Reset

func (x *NextHexResponse) Reset()

func (*NextHexResponse) String

func (x *NextHexResponse) String() string

func (*NextHexResponse) Validate

func (m *NextHexResponse) Validate() error

Validate checks the field values on NextHexResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextHexResponse) ValidateAll

func (m *NextHexResponse) ValidateAll() error

ValidateAll checks the field values on NextHexResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextHexResponseMultiError, or nil if none found.

type NextHexResponseMultiError

type NextHexResponseMultiError []error

NextHexResponseMultiError is an error wrapping multiple validation errors returned by NextHexResponse.ValidateAll() if the designated constraints aren't met.

func (NextHexResponseMultiError) AllErrors

func (m NextHexResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextHexResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NextHexResponseValidationError

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

NextHexResponseValidationError is the validation error returned by NextHexResponse.Validate if the designated constraints aren't met.

func (NextHexResponseValidationError) Cause

Cause function returns cause value.

func (NextHexResponseValidationError) Error

Error satisfies the builtin error interface

func (NextHexResponseValidationError) ErrorName

func (e NextHexResponseValidationError) ErrorName() string

ErrorName returns error name.

func (NextHexResponseValidationError) Field

Field function returns field value.

func (NextHexResponseValidationError) Key

Key function returns key value.

func (NextHexResponseValidationError) Reason

Reason function returns reason value.

type NextInt64Request

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

func (*NextInt64Request) Descriptor deprecated

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

Deprecated: Use NextInt64Request.ProtoReflect.Descriptor instead.

func (*NextInt64Request) ProtoMessage

func (*NextInt64Request) ProtoMessage()

func (*NextInt64Request) ProtoReflect

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

func (*NextInt64Request) Reset

func (x *NextInt64Request) Reset()

func (*NextInt64Request) String

func (x *NextInt64Request) String() string

func (*NextInt64Request) Validate

func (m *NextInt64Request) Validate() error

Validate checks the field values on NextInt64Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextInt64Request) ValidateAll

func (m *NextInt64Request) ValidateAll() error

ValidateAll checks the field values on NextInt64Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextInt64RequestMultiError, or nil if none found.

type NextInt64RequestMultiError

type NextInt64RequestMultiError []error

NextInt64RequestMultiError is an error wrapping multiple validation errors returned by NextInt64Request.ValidateAll() if the designated constraints aren't met.

func (NextInt64RequestMultiError) AllErrors

func (m NextInt64RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextInt64RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NextInt64RequestValidationError

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

NextInt64RequestValidationError is the validation error returned by NextInt64Request.Validate if the designated constraints aren't met.

func (NextInt64RequestValidationError) Cause

Cause function returns cause value.

func (NextInt64RequestValidationError) Error

Error satisfies the builtin error interface

func (NextInt64RequestValidationError) ErrorName

ErrorName returns error name.

func (NextInt64RequestValidationError) Field

Field function returns field value.

func (NextInt64RequestValidationError) Key

Key function returns key value.

func (NextInt64RequestValidationError) Reason

Reason function returns reason value.

type NextInt64Response

type NextInt64Response struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NextInt64Response) Descriptor deprecated

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

Deprecated: Use NextInt64Response.ProtoReflect.Descriptor instead.

func (*NextInt64Response) GetValue

func (x *NextInt64Response) GetValue() int64

func (*NextInt64Response) ProtoMessage

func (*NextInt64Response) ProtoMessage()

func (*NextInt64Response) ProtoReflect

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

func (*NextInt64Response) Reset

func (x *NextInt64Response) Reset()

func (*NextInt64Response) String

func (x *NextInt64Response) String() string

func (*NextInt64Response) Validate

func (m *NextInt64Response) Validate() error

Validate checks the field values on NextInt64Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextInt64Response) ValidateAll

func (m *NextInt64Response) ValidateAll() error

ValidateAll checks the field values on NextInt64Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextInt64ResponseMultiError, or nil if none found.

type NextInt64ResponseMultiError

type NextInt64ResponseMultiError []error

NextInt64ResponseMultiError is an error wrapping multiple validation errors returned by NextInt64Response.ValidateAll() if the designated constraints aren't met.

func (NextInt64ResponseMultiError) AllErrors

func (m NextInt64ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextInt64ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NextInt64ResponseValidationError

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

NextInt64ResponseValidationError is the validation error returned by NextInt64Response.Validate if the designated constraints aren't met.

func (NextInt64ResponseValidationError) Cause

Cause function returns cause value.

func (NextInt64ResponseValidationError) Error

Error satisfies the builtin error interface

func (NextInt64ResponseValidationError) ErrorName

ErrorName returns error name.

func (NextInt64ResponseValidationError) Field

Field function returns field value.

func (NextInt64ResponseValidationError) Key

Key function returns key value.

func (NextInt64ResponseValidationError) Reason

Reason function returns reason value.

type NextValueRequest

type NextValueRequest struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	MinValue int64  `protobuf:"varint,2,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	MaxValue int64  `protobuf:"varint,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// contains filtered or unexported fields
}

func (*NextValueRequest) Descriptor deprecated

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

Deprecated: Use NextValueRequest.ProtoReflect.Descriptor instead.

func (*NextValueRequest) GetKey

func (x *NextValueRequest) GetKey() string

func (*NextValueRequest) GetMaxValue

func (x *NextValueRequest) GetMaxValue() int64

func (*NextValueRequest) GetMinValue

func (x *NextValueRequest) GetMinValue() int64

func (*NextValueRequest) ProtoMessage

func (*NextValueRequest) ProtoMessage()

func (*NextValueRequest) ProtoReflect

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

func (*NextValueRequest) Reset

func (x *NextValueRequest) Reset()

func (*NextValueRequest) String

func (x *NextValueRequest) String() string

func (*NextValueRequest) Validate

func (m *NextValueRequest) Validate() error

Validate checks the field values on NextValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextValueRequest) ValidateAll

func (m *NextValueRequest) ValidateAll() error

ValidateAll checks the field values on NextValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextValueRequestMultiError, or nil if none found.

type NextValueRequestMultiError

type NextValueRequestMultiError []error

NextValueRequestMultiError is an error wrapping multiple validation errors returned by NextValueRequest.ValidateAll() if the designated constraints aren't met.

func (NextValueRequestMultiError) AllErrors

func (m NextValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextValueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NextValueRequestValidationError

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

NextValueRequestValidationError is the validation error returned by NextValueRequest.Validate if the designated constraints aren't met.

func (NextValueRequestValidationError) Cause

Cause function returns cause value.

func (NextValueRequestValidationError) Error

Error satisfies the builtin error interface

func (NextValueRequestValidationError) ErrorName

ErrorName returns error name.

func (NextValueRequestValidationError) Field

Field function returns field value.

func (NextValueRequestValidationError) Key

Key function returns key value.

func (NextValueRequestValidationError) Reason

Reason function returns reason value.

type NextValueResponse

type NextValueResponse struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NextValueResponse) Descriptor deprecated

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

Deprecated: Use NextValueResponse.ProtoReflect.Descriptor instead.

func (*NextValueResponse) GetKey

func (x *NextValueResponse) GetKey() string

func (*NextValueResponse) GetValue

func (x *NextValueResponse) GetValue() int64

func (*NextValueResponse) ProtoMessage

func (*NextValueResponse) ProtoMessage()

func (*NextValueResponse) ProtoReflect

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

func (*NextValueResponse) Reset

func (x *NextValueResponse) Reset()

func (*NextValueResponse) String

func (x *NextValueResponse) String() string

func (*NextValueResponse) Validate

func (m *NextValueResponse) Validate() error

Validate checks the field values on NextValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NextValueResponse) ValidateAll

func (m *NextValueResponse) ValidateAll() error

ValidateAll checks the field values on NextValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextValueResponseMultiError, or nil if none found.

type NextValueResponseMultiError

type NextValueResponseMultiError []error

NextValueResponseMultiError is an error wrapping multiple validation errors returned by NextValueResponse.ValidateAll() if the designated constraints aren't met.

func (NextValueResponseMultiError) AllErrors

func (m NextValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NextValueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NextValueResponseValidationError

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

NextValueResponseValidationError is the validation error returned by NextValueResponse.Validate if the designated constraints aren't met.

func (NextValueResponseValidationError) Cause

Cause function returns cause value.

func (NextValueResponseValidationError) Error

Error satisfies the builtin error interface

func (NextValueResponseValidationError) ErrorName

ErrorName returns error name.

func (NextValueResponseValidationError) Field

Field function returns field value.

func (NextValueResponseValidationError) Key

Key function returns key value.

func (NextValueResponseValidationError) Reason

Reason function returns reason value.

type PasswordServiceClient

type PasswordServiceClient interface {
	GeneratePassword(ctx context.Context, in *GeneratePasswordRequest, opts ...grpc.CallOption) (*GeneratePasswordResponse, error)
	HashPassword(ctx context.Context, in *HashPasswordRequest, opts ...grpc.CallOption) (*HashPasswordResponse, error)
	ValidatePassword(ctx context.Context, in *ValidatePasswordRequest, opts ...grpc.CallOption) (*ValidatePasswordResponse, error)
}

PasswordServiceClient is the client API for PasswordService 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 PasswordServiceServer

type PasswordServiceServer interface {
	GeneratePassword(context.Context, *GeneratePasswordRequest) (*GeneratePasswordResponse, error)
	HashPassword(context.Context, *HashPasswordRequest) (*HashPasswordResponse, error)
	ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordResponse, error)
	// contains filtered or unexported methods
}

PasswordServiceServer is the server API for PasswordService service. All implementations must embed UnimplementedPasswordServiceServer for forward compatibility

type SequenceServiceClient

type SequenceServiceClient interface {
	NextValue(ctx context.Context, in *NextValueRequest, opts ...grpc.CallOption) (*NextValueResponse, error)
}

SequenceServiceClient is the client API for SequenceService 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 SequenceServiceServer

type SequenceServiceServer interface {
	NextValue(context.Context, *NextValueRequest) (*NextValueResponse, error)
	// contains filtered or unexported methods
}

SequenceServiceServer is the server API for SequenceService service. All implementations must embed UnimplementedSequenceServiceServer for forward compatibility

type SnowflakeServiceClient

type SnowflakeServiceClient interface {
	NextHex(ctx context.Context, in *NextHexRequest, opts ...grpc.CallOption) (*NextHexResponse, error)
	NextInt64(ctx context.Context, in *NextInt64Request, opts ...grpc.CallOption) (*NextInt64Response, error)
}

SnowflakeServiceClient is the client API for SnowflakeService 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 SnowflakeServiceServer

type SnowflakeServiceServer interface {
	NextHex(context.Context, *NextHexRequest) (*NextHexResponse, error)
	NextInt64(context.Context, *NextInt64Request) (*NextInt64Response, error)
	// contains filtered or unexported methods
}

SnowflakeServiceServer is the server API for SnowflakeService service. All implementations must embed UnimplementedSnowflakeServiceServer for forward compatibility

type UnimplementedDateTimeServiceServer

type UnimplementedDateTimeServiceServer struct {
}

UnimplementedDateTimeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDateTimeServiceServer) GetDBNow

func (UnimplementedDateTimeServiceServer) GetLocalNow

func (UnimplementedDateTimeServiceServer) GetRedisNow

func (UnimplementedDateTimeServiceServer) GetUTCNow

func (UnimplementedDateTimeServiceServer) WatchLocalNow

type UnimplementedPasswordServiceServer

type UnimplementedPasswordServiceServer struct {
}

UnimplementedPasswordServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPasswordServiceServer) GeneratePassword

func (UnimplementedPasswordServiceServer) HashPassword

func (UnimplementedPasswordServiceServer) ValidatePassword

type UnimplementedSequenceServiceServer

type UnimplementedSequenceServiceServer struct {
}

UnimplementedSequenceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSequenceServiceServer) NextValue

type UnimplementedSnowflakeServiceServer

type UnimplementedSnowflakeServiceServer struct {
}

UnimplementedSnowflakeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSnowflakeServiceServer) NextHex

func (UnimplementedSnowflakeServiceServer) NextInt64

type UnsafeDateTimeServiceServer

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

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

type UnsafePasswordServiceServer

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

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

type UnsafeSequenceServiceServer

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

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

type UnsafeSnowflakeServiceServer

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

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

type ValidatePasswordRequest

type ValidatePasswordRequest struct {
	HashedPassword   string `protobuf:"bytes,1,opt,name=hashed_password,json=hashedPassword,proto3" json:"hashed_password,omitempty"`
	ProvidedPassword string `protobuf:"bytes,2,opt,name=provided_password,json=providedPassword,proto3" json:"provided_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatePasswordRequest) Descriptor deprecated

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

Deprecated: Use ValidatePasswordRequest.ProtoReflect.Descriptor instead.

func (*ValidatePasswordRequest) GetHashedPassword

func (x *ValidatePasswordRequest) GetHashedPassword() string

func (*ValidatePasswordRequest) GetProvidedPassword

func (x *ValidatePasswordRequest) GetProvidedPassword() string

func (*ValidatePasswordRequest) ProtoMessage

func (*ValidatePasswordRequest) ProtoMessage()

func (*ValidatePasswordRequest) ProtoReflect

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

func (*ValidatePasswordRequest) Reset

func (x *ValidatePasswordRequest) Reset()

func (*ValidatePasswordRequest) String

func (x *ValidatePasswordRequest) String() string

func (*ValidatePasswordRequest) Validate

func (m *ValidatePasswordRequest) Validate() error

Validate checks the field values on ValidatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidatePasswordRequest) ValidateAll

func (m *ValidatePasswordRequest) ValidateAll() error

ValidateAll checks the field values on ValidatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidatePasswordRequestMultiError, or nil if none found.

type ValidatePasswordRequestMultiError

type ValidatePasswordRequestMultiError []error

ValidatePasswordRequestMultiError is an error wrapping multiple validation errors returned by ValidatePasswordRequest.ValidateAll() if the designated constraints aren't met.

func (ValidatePasswordRequestMultiError) AllErrors

func (m ValidatePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidatePasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ValidatePasswordRequestValidationError

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

ValidatePasswordRequestValidationError is the validation error returned by ValidatePasswordRequest.Validate if the designated constraints aren't met.

func (ValidatePasswordRequestValidationError) Cause

Cause function returns cause value.

func (ValidatePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ValidatePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ValidatePasswordRequestValidationError) Field

Field function returns field value.

func (ValidatePasswordRequestValidationError) Key

Key function returns key value.

func (ValidatePasswordRequestValidationError) Reason

Reason function returns reason value.

type ValidatePasswordResponse

type ValidatePasswordResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatePasswordResponse) Descriptor deprecated

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

Deprecated: Use ValidatePasswordResponse.ProtoReflect.Descriptor instead.

func (*ValidatePasswordResponse) GetValid

func (x *ValidatePasswordResponse) GetValid() bool

func (*ValidatePasswordResponse) ProtoMessage

func (*ValidatePasswordResponse) ProtoMessage()

func (*ValidatePasswordResponse) ProtoReflect

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

func (*ValidatePasswordResponse) Reset

func (x *ValidatePasswordResponse) Reset()

func (*ValidatePasswordResponse) String

func (x *ValidatePasswordResponse) String() string

func (*ValidatePasswordResponse) Validate

func (m *ValidatePasswordResponse) Validate() error

Validate checks the field values on ValidatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidatePasswordResponse) ValidateAll

func (m *ValidatePasswordResponse) ValidateAll() error

ValidateAll checks the field values on ValidatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidatePasswordResponseMultiError, or nil if none found.

type ValidatePasswordResponseMultiError

type ValidatePasswordResponseMultiError []error

ValidatePasswordResponseMultiError is an error wrapping multiple validation errors returned by ValidatePasswordResponse.ValidateAll() if the designated constraints aren't met.

func (ValidatePasswordResponseMultiError) AllErrors

func (m ValidatePasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidatePasswordResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ValidatePasswordResponseValidationError

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

ValidatePasswordResponseValidationError is the validation error returned by ValidatePasswordResponse.Validate if the designated constraints aren't met.

func (ValidatePasswordResponseValidationError) Cause

Cause function returns cause value.

func (ValidatePasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (ValidatePasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (ValidatePasswordResponseValidationError) Field

Field function returns field value.

func (ValidatePasswordResponseValidationError) Key

Key function returns key value.

func (ValidatePasswordResponseValidationError) Reason

Reason function returns reason value.

type WatchLocalNowRequest

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

func (*WatchLocalNowRequest) Descriptor deprecated

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

Deprecated: Use WatchLocalNowRequest.ProtoReflect.Descriptor instead.

func (*WatchLocalNowRequest) ProtoMessage

func (*WatchLocalNowRequest) ProtoMessage()

func (*WatchLocalNowRequest) ProtoReflect

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

func (*WatchLocalNowRequest) Reset

func (x *WatchLocalNowRequest) Reset()

func (*WatchLocalNowRequest) String

func (x *WatchLocalNowRequest) String() string

func (*WatchLocalNowRequest) Validate

func (m *WatchLocalNowRequest) Validate() error

Validate checks the field values on WatchLocalNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchLocalNowRequest) ValidateAll

func (m *WatchLocalNowRequest) ValidateAll() error

ValidateAll checks the field values on WatchLocalNowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchLocalNowRequestMultiError, or nil if none found.

type WatchLocalNowRequestMultiError

type WatchLocalNowRequestMultiError []error

WatchLocalNowRequestMultiError is an error wrapping multiple validation errors returned by WatchLocalNowRequest.ValidateAll() if the designated constraints aren't met.

func (WatchLocalNowRequestMultiError) AllErrors

func (m WatchLocalNowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchLocalNowRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type WatchLocalNowRequestValidationError

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

WatchLocalNowRequestValidationError is the validation error returned by WatchLocalNowRequest.Validate if the designated constraints aren't met.

func (WatchLocalNowRequestValidationError) Cause

Cause function returns cause value.

func (WatchLocalNowRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchLocalNowRequestValidationError) ErrorName

ErrorName returns error name.

func (WatchLocalNowRequestValidationError) Field

Field function returns field value.

func (WatchLocalNowRequestValidationError) Key

Key function returns key value.

func (WatchLocalNowRequestValidationError) Reason

Reason function returns reason value.

type WatchLocalNowResponse

type WatchLocalNowResponse struct {
	Value *tsoffset.TimestampOffset `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchLocalNowResponse) Descriptor deprecated

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

Deprecated: Use WatchLocalNowResponse.ProtoReflect.Descriptor instead.

func (*WatchLocalNowResponse) GetValue

func (*WatchLocalNowResponse) ProtoMessage

func (*WatchLocalNowResponse) ProtoMessage()

func (*WatchLocalNowResponse) ProtoReflect

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

func (*WatchLocalNowResponse) Reset

func (x *WatchLocalNowResponse) Reset()

func (*WatchLocalNowResponse) String

func (x *WatchLocalNowResponse) String() string

func (*WatchLocalNowResponse) Validate

func (m *WatchLocalNowResponse) Validate() error

Validate checks the field values on WatchLocalNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchLocalNowResponse) ValidateAll

func (m *WatchLocalNowResponse) ValidateAll() error

ValidateAll checks the field values on WatchLocalNowResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchLocalNowResponseMultiError, or nil if none found.

type WatchLocalNowResponseMultiError

type WatchLocalNowResponseMultiError []error

WatchLocalNowResponseMultiError is an error wrapping multiple validation errors returned by WatchLocalNowResponse.ValidateAll() if the designated constraints aren't met.

func (WatchLocalNowResponseMultiError) AllErrors

func (m WatchLocalNowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchLocalNowResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type WatchLocalNowResponseValidationError

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

WatchLocalNowResponseValidationError is the validation error returned by WatchLocalNowResponse.Validate if the designated constraints aren't met.

func (WatchLocalNowResponseValidationError) Cause

Cause function returns cause value.

func (WatchLocalNowResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchLocalNowResponseValidationError) ErrorName

ErrorName returns error name.

func (WatchLocalNowResponseValidationError) Field

Field function returns field value.

func (WatchLocalNowResponseValidationError) Key

Key function returns key value.

func (WatchLocalNowResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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