Versions in this module Expand all Collapse all v0 v0.1.0 Feb 7, 2024 Changes in this version + var ErrorReason_name = map[int32]string + var ErrorReason_value = map[string]int32 + var File_toyblc_v1_errors_proto protoreflect.FileDescriptor + var File_toyblc_v1_toyblc_proto protoreflect.FileDescriptor + func ErrorPageNotFound(format string, args ...interface{}) *errors.Error + func IsPageNotFound(err error) bool + type CreateBlockRequest struct + Data string + func (*CreateBlockRequest) Descriptor() ([]byte, []int) + func (*CreateBlockRequest) ProtoMessage() + func (m *CreateBlockRequest) Validate() error + func (m *CreateBlockRequest) ValidateAll() error + func (x *CreateBlockRequest) GetData() string + func (x *CreateBlockRequest) ProtoReflect() protoreflect.Message + func (x *CreateBlockRequest) Reset() + func (x *CreateBlockRequest) String() string + type CreateBlockRequestMultiError []error + func (m CreateBlockRequestMultiError) AllErrors() []error + func (m CreateBlockRequestMultiError) Error() string + type CreateBlockRequestValidationError struct + func (e CreateBlockRequestValidationError) Cause() error + func (e CreateBlockRequestValidationError) Error() string + func (e CreateBlockRequestValidationError) ErrorName() string + func (e CreateBlockRequestValidationError) Field() string + func (e CreateBlockRequestValidationError) Key() bool + func (e CreateBlockRequestValidationError) Reason() string + type CreatePeerRequest struct + Peer string + func (*CreatePeerRequest) Descriptor() ([]byte, []int) + func (*CreatePeerRequest) ProtoMessage() + func (m *CreatePeerRequest) Validate() error + func (m *CreatePeerRequest) ValidateAll() error + func (x *CreatePeerRequest) GetPeer() string + func (x *CreatePeerRequest) ProtoReflect() protoreflect.Message + func (x *CreatePeerRequest) Reset() + func (x *CreatePeerRequest) String() string + type CreatePeerRequestMultiError []error + func (m CreatePeerRequestMultiError) AllErrors() []error + func (m CreatePeerRequestMultiError) Error() string + type CreatePeerRequestValidationError struct + func (e CreatePeerRequestValidationError) Cause() error + func (e CreatePeerRequestValidationError) Error() string + func (e CreatePeerRequestValidationError) ErrorName() string + func (e CreatePeerRequestValidationError) Field() string + func (e CreatePeerRequestValidationError) Key() bool + func (e CreatePeerRequestValidationError) Reason() string + type ErrorReason int32 + const ErrorReason_PageNotFound + func (ErrorReason) Descriptor() protoreflect.EnumDescriptor + func (ErrorReason) EnumDescriptor() ([]byte, []int) + func (ErrorReason) Type() protoreflect.EnumType + func (x ErrorReason) Enum() *ErrorReason + func (x ErrorReason) Number() protoreflect.EnumNumber + func (x ErrorReason) String() string