service

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_service_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Service

type Service struct {
	AccountService *Service_AccountService `protobuf:"bytes,1,opt,name=accountService,proto3" json:"accountService,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAccountService

func (x *Service) GetAccountService() *Service_AccountService

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

func (*Service) Validate

func (m *Service) Validate() error

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

func (m *Service) ValidateAll() error

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

type ServiceMultiError

type ServiceMultiError []error

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

func (ServiceMultiError) AllErrors

func (m ServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceMultiError) Error

func (m ServiceMultiError) Error() string

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

type ServiceValidationError

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

ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.

func (ServiceValidationError) Cause

func (e ServiceValidationError) Cause() error

Cause function returns cause value.

func (ServiceValidationError) Error

func (e ServiceValidationError) Error() string

Error satisfies the builtin error interface

func (ServiceValidationError) ErrorName

func (e ServiceValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceValidationError) Field

func (e ServiceValidationError) Field() string

Field function returns field value.

func (ServiceValidationError) Key

func (e ServiceValidationError) Key() bool

Key function returns key value.

func (ServiceValidationError) Reason

func (e ServiceValidationError) Reason() string

Reason function returns reason value.

type Service_AccountService

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

func (*Service_AccountService) Descriptor deprecated

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

Deprecated: Use Service_AccountService.ProtoReflect.Descriptor instead.

func (*Service_AccountService) GetEndpoint

func (x *Service_AccountService) GetEndpoint() string

func (*Service_AccountService) ProtoMessage

func (*Service_AccountService) ProtoMessage()

func (*Service_AccountService) ProtoReflect

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

func (*Service_AccountService) Reset

func (x *Service_AccountService) Reset()

func (*Service_AccountService) String

func (x *Service_AccountService) String() string

func (*Service_AccountService) Validate

func (m *Service_AccountService) Validate() error

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

func (m *Service_AccountService) ValidateAll() error

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

type Service_AccountServiceMultiError

type Service_AccountServiceMultiError []error

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

func (Service_AccountServiceMultiError) AllErrors

func (m Service_AccountServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Service_AccountServiceMultiError) Error

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

type Service_AccountServiceValidationError

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

Service_AccountServiceValidationError is the validation error returned by Service_AccountService.Validate if the designated constraints aren't met.

func (Service_AccountServiceValidationError) Cause

Cause function returns cause value.

func (Service_AccountServiceValidationError) Error

Error satisfies the builtin error interface

func (Service_AccountServiceValidationError) ErrorName

ErrorName returns error name.

func (Service_AccountServiceValidationError) Field

Field function returns field value.

func (Service_AccountServiceValidationError) Key

Key function returns key value.

func (Service_AccountServiceValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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