unit

package
v0.0.0-...-da3d57c Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ext_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ExtConfig

type ExtConfig struct {
	Asset  string        `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount string        `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Issuer *proto.Wallet `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtConfig) Descriptor deprecated

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

Deprecated: Use ExtConfig.ProtoReflect.Descriptor instead.

func (*ExtConfig) GetAmount

func (x *ExtConfig) GetAmount() string

func (*ExtConfig) GetAsset

func (x *ExtConfig) GetAsset() string

func (*ExtConfig) GetIssuer

func (x *ExtConfig) GetIssuer() *proto.Wallet

func (*ExtConfig) ProtoMessage

func (*ExtConfig) ProtoMessage()

func (*ExtConfig) ProtoReflect

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

func (*ExtConfig) Reset

func (x *ExtConfig) Reset()

func (*ExtConfig) String

func (x *ExtConfig) String() string

func (*ExtConfig) Validate

func (m *ExtConfig) Validate() error

Validate checks the field values on ExtConfig 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 (*ExtConfig) ValidateAll

func (m *ExtConfig) ValidateAll() error

ValidateAll checks the field values on ExtConfig 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 ExtConfigMultiError, or nil if none found.

type ExtConfigMultiError

type ExtConfigMultiError []error

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

func (ExtConfigMultiError) AllErrors

func (m ExtConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtConfigMultiError) Error

func (m ExtConfigMultiError) Error() string

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

type ExtConfigValidationError

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

ExtConfigValidationError is the validation error returned by ExtConfig.Validate if the designated constraints aren't met.

func (ExtConfigValidationError) Cause

func (e ExtConfigValidationError) Cause() error

Cause function returns cause value.

func (ExtConfigValidationError) Error

func (e ExtConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ExtConfigValidationError) ErrorName

func (e ExtConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ExtConfigValidationError) Field

func (e ExtConfigValidationError) Field() string

Field function returns field value.

func (ExtConfigValidationError) Key

Key function returns key value.

func (ExtConfigValidationError) Reason

func (e ExtConfigValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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