offers

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 27 Imported by: 2

Documentation

Overview

Package offers is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	OfferType_name = map[int32]string{
		0: "UNKNOWN",
	}
	OfferType_value = map[string]int32{
		"UNKNOWN": 0,
	}
)

Enum value maps for OfferType.

View Source
var File_offers_offers_proto protoreflect.FileDescriptor

Functions

func RegisterMruVOffersServiceHandler

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

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

func RegisterMruVOffersServiceHandlerClient

func RegisterMruVOffersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVOffersServiceClient) error

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

func RegisterMruVOffersServiceHandlerFromEndpoint

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

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

func RegisterMruVOffersServiceHandlerServer

func RegisterMruVOffersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVOffersServiceServer) error

RegisterMruVOffersServiceHandlerServer registers the http handlers for service MruVOffersService to "mux". UnaryRPC :call MruVOffersServiceServer 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 RegisterMruVOffersServiceHandlerFromEndpoint instead.

func RegisterMruVOffersServiceServer

func RegisterMruVOffersServiceServer(s *grpc.Server, srv MruVOffersServiceServer)

Types

type AcceptOfferRequest

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

Request message for rpc `AcceptOffer`.

func (*AcceptOfferRequest) Descriptor deprecated

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

Deprecated: Use AcceptOfferRequest.ProtoReflect.Descriptor instead.

func (*AcceptOfferRequest) GetId

func (x *AcceptOfferRequest) GetId() uint32

func (*AcceptOfferRequest) ProtoMessage

func (*AcceptOfferRequest) ProtoMessage()

func (*AcceptOfferRequest) ProtoReflect added in v0.8.4

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

func (*AcceptOfferRequest) Reset

func (x *AcceptOfferRequest) Reset()

func (*AcceptOfferRequest) String

func (x *AcceptOfferRequest) String() string

func (*AcceptOfferRequest) Validate

func (m *AcceptOfferRequest) Validate() error

Validate checks the field values on AcceptOfferRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AcceptOfferRequestValidationError

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

AcceptOfferRequestValidationError is the validation error returned by AcceptOfferRequest.Validate if the designated constraints aren't met.

func (AcceptOfferRequestValidationError) Cause

Cause function returns cause value.

func (AcceptOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (AcceptOfferRequestValidationError) ErrorName

ErrorName returns error name.

func (AcceptOfferRequestValidationError) Field

Field function returns field value.

func (AcceptOfferRequestValidationError) Key

Key function returns key value.

func (AcceptOfferRequestValidationError) Reason

Reason function returns reason value.

type AcceptOfferResponse

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

Response message for rpc `AcceptOffer`.

func (*AcceptOfferResponse) Descriptor deprecated

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

Deprecated: Use AcceptOfferResponse.ProtoReflect.Descriptor instead.

func (*AcceptOfferResponse) ProtoMessage

func (*AcceptOfferResponse) ProtoMessage()

func (*AcceptOfferResponse) ProtoReflect added in v0.8.4

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

func (*AcceptOfferResponse) Reset

func (x *AcceptOfferResponse) Reset()

func (*AcceptOfferResponse) String

func (x *AcceptOfferResponse) String() string

func (*AcceptOfferResponse) Validate

func (m *AcceptOfferResponse) Validate() error

Validate checks the field values on AcceptOfferResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AcceptOfferResponseValidationError

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

AcceptOfferResponseValidationError is the validation error returned by AcceptOfferResponse.Validate if the designated constraints aren't met.

func (AcceptOfferResponseValidationError) Cause

Cause function returns cause value.

func (AcceptOfferResponseValidationError) Error

Error satisfies the builtin error interface

func (AcceptOfferResponseValidationError) ErrorName

ErrorName returns error name.

func (AcceptOfferResponseValidationError) Field

Field function returns field value.

func (AcceptOfferResponseValidationError) Key

Key function returns key value.

func (AcceptOfferResponseValidationError) Reason

Reason function returns reason value.

type CreateOfferRequest

type CreateOfferRequest struct {
	Name          string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description   string    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Offer         string    `protobuf:"bytes,3,opt,name=offer,proto3" json:"offer,omitempty"`
	EndDate       int64     `protobuf:"varint,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	Price         uint32    `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	OfferType     OfferType `protobuf:"varint,6,opt,name=offer_type,json=offerType,proto3,enum=mruv.offers.OfferType" json:"offer_type,omitempty"`
	OfferEntityId uint32    `protobuf:"varint,7,opt,name=offer_entity_id,json=offerEntityId,proto3" json:"offer_entity_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `CreateOffer`.

func (*CreateOfferRequest) Descriptor deprecated

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

Deprecated: Use CreateOfferRequest.ProtoReflect.Descriptor instead.

func (*CreateOfferRequest) GetDescription

func (x *CreateOfferRequest) GetDescription() string

func (*CreateOfferRequest) GetEndDate

func (x *CreateOfferRequest) GetEndDate() int64

func (*CreateOfferRequest) GetName

func (x *CreateOfferRequest) GetName() string

func (*CreateOfferRequest) GetOffer

func (x *CreateOfferRequest) GetOffer() string

func (*CreateOfferRequest) GetOfferEntityId

func (x *CreateOfferRequest) GetOfferEntityId() uint32

func (*CreateOfferRequest) GetOfferType

func (x *CreateOfferRequest) GetOfferType() OfferType

func (*CreateOfferRequest) GetPrice

func (x *CreateOfferRequest) GetPrice() uint32

func (*CreateOfferRequest) ProtoMessage

func (*CreateOfferRequest) ProtoMessage()

func (*CreateOfferRequest) ProtoReflect added in v0.8.4

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

func (*CreateOfferRequest) Reset

func (x *CreateOfferRequest) Reset()

func (*CreateOfferRequest) String

func (x *CreateOfferRequest) String() string

func (*CreateOfferRequest) Validate

func (m *CreateOfferRequest) Validate() error

Validate checks the field values on CreateOfferRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateOfferRequestValidationError

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

CreateOfferRequestValidationError is the validation error returned by CreateOfferRequest.Validate if the designated constraints aren't met.

func (CreateOfferRequestValidationError) Cause

Cause function returns cause value.

func (CreateOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOfferRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOfferRequestValidationError) Field

Field function returns field value.

func (CreateOfferRequestValidationError) Key

Key function returns key value.

func (CreateOfferRequestValidationError) Reason

Reason function returns reason value.

type CreateOfferResponse

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

Response message for rpc `CreateOffer`.

func (*CreateOfferResponse) Descriptor deprecated

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

Deprecated: Use CreateOfferResponse.ProtoReflect.Descriptor instead.

func (*CreateOfferResponse) GetId

func (x *CreateOfferResponse) GetId() uint32

func (*CreateOfferResponse) ProtoMessage

func (*CreateOfferResponse) ProtoMessage()

func (*CreateOfferResponse) ProtoReflect added in v0.8.4

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

func (*CreateOfferResponse) Reset

func (x *CreateOfferResponse) Reset()

func (*CreateOfferResponse) String

func (x *CreateOfferResponse) String() string

func (*CreateOfferResponse) Validate

func (m *CreateOfferResponse) Validate() error

Validate checks the field values on CreateOfferResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateOfferResponseValidationError

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

CreateOfferResponseValidationError is the validation error returned by CreateOfferResponse.Validate if the designated constraints aren't met.

func (CreateOfferResponseValidationError) Cause

Cause function returns cause value.

func (CreateOfferResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateOfferResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateOfferResponseValidationError) Field

Field function returns field value.

func (CreateOfferResponseValidationError) Key

Key function returns key value.

func (CreateOfferResponseValidationError) Reason

Reason function returns reason value.

type DeleteOfferRequest

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

Request message for rpc `DeleteOffer`.

func (*DeleteOfferRequest) Descriptor deprecated

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

Deprecated: Use DeleteOfferRequest.ProtoReflect.Descriptor instead.

func (*DeleteOfferRequest) GetId

func (x *DeleteOfferRequest) GetId() uint32

func (*DeleteOfferRequest) ProtoMessage

func (*DeleteOfferRequest) ProtoMessage()

func (*DeleteOfferRequest) ProtoReflect added in v0.8.4

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

func (*DeleteOfferRequest) Reset

func (x *DeleteOfferRequest) Reset()

func (*DeleteOfferRequest) String

func (x *DeleteOfferRequest) String() string

func (*DeleteOfferRequest) Validate

func (m *DeleteOfferRequest) Validate() error

Validate checks the field values on DeleteOfferRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteOfferRequestValidationError

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

DeleteOfferRequestValidationError is the validation error returned by DeleteOfferRequest.Validate if the designated constraints aren't met.

func (DeleteOfferRequestValidationError) Cause

Cause function returns cause value.

func (DeleteOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteOfferRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteOfferRequestValidationError) Field

Field function returns field value.

func (DeleteOfferRequestValidationError) Key

Key function returns key value.

func (DeleteOfferRequestValidationError) Reason

Reason function returns reason value.

type DeleteOfferResponse

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

Response message for rpc `DeleteOffer`.

func (*DeleteOfferResponse) Descriptor deprecated

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

Deprecated: Use DeleteOfferResponse.ProtoReflect.Descriptor instead.

func (*DeleteOfferResponse) ProtoMessage

func (*DeleteOfferResponse) ProtoMessage()

func (*DeleteOfferResponse) ProtoReflect added in v0.8.4

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

func (*DeleteOfferResponse) Reset

func (x *DeleteOfferResponse) Reset()

func (*DeleteOfferResponse) String

func (x *DeleteOfferResponse) String() string

func (*DeleteOfferResponse) Validate

func (m *DeleteOfferResponse) Validate() error

Validate checks the field values on DeleteOfferResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteOfferResponseValidationError

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

DeleteOfferResponseValidationError is the validation error returned by DeleteOfferResponse.Validate if the designated constraints aren't met.

func (DeleteOfferResponseValidationError) Cause

Cause function returns cause value.

func (DeleteOfferResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteOfferResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteOfferResponseValidationError) Field

Field function returns field value.

func (DeleteOfferResponseValidationError) Key

Key function returns key value.

func (DeleteOfferResponseValidationError) Reason

Reason function returns reason value.

type GetOfferRequest

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

Request message for rpc `GetOffer`.

func (*GetOfferRequest) Descriptor deprecated

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

Deprecated: Use GetOfferRequest.ProtoReflect.Descriptor instead.

func (*GetOfferRequest) GetId

func (x *GetOfferRequest) GetId() uint32

func (*GetOfferRequest) ProtoMessage

func (*GetOfferRequest) ProtoMessage()

func (*GetOfferRequest) ProtoReflect added in v0.8.4

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

func (*GetOfferRequest) Reset

func (x *GetOfferRequest) Reset()

func (*GetOfferRequest) String

func (x *GetOfferRequest) String() string

func (*GetOfferRequest) Validate

func (m *GetOfferRequest) Validate() error

Validate checks the field values on GetOfferRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetOfferRequestValidationError

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

GetOfferRequestValidationError is the validation error returned by GetOfferRequest.Validate if the designated constraints aren't met.

func (GetOfferRequestValidationError) Cause

Cause function returns cause value.

func (GetOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (GetOfferRequestValidationError) ErrorName

func (e GetOfferRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetOfferRequestValidationError) Field

Field function returns field value.

func (GetOfferRequestValidationError) Key

Key function returns key value.

func (GetOfferRequestValidationError) Reason

Reason function returns reason value.

type GetOfferResponse

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

Response message for rpc `GetOffer`.

func (*GetOfferResponse) Descriptor deprecated

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

Deprecated: Use GetOfferResponse.ProtoReflect.Descriptor instead.

func (*GetOfferResponse) ProtoMessage

func (*GetOfferResponse) ProtoMessage()

func (*GetOfferResponse) ProtoReflect added in v0.8.4

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

func (*GetOfferResponse) Reset

func (x *GetOfferResponse) Reset()

func (*GetOfferResponse) String

func (x *GetOfferResponse) String() string

func (*GetOfferResponse) Validate

func (m *GetOfferResponse) Validate() error

Validate checks the field values on GetOfferResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetOfferResponseValidationError

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

GetOfferResponseValidationError is the validation error returned by GetOfferResponse.Validate if the designated constraints aren't met.

func (GetOfferResponseValidationError) Cause

Cause function returns cause value.

func (GetOfferResponseValidationError) Error

Error satisfies the builtin error interface

func (GetOfferResponseValidationError) ErrorName

ErrorName returns error name.

func (GetOfferResponseValidationError) Field

Field function returns field value.

func (GetOfferResponseValidationError) Key

Key function returns key value.

func (GetOfferResponseValidationError) Reason

Reason function returns reason value.

type MruVOffersServiceClient

type MruVOffersServiceClient interface {
	// Create an offer.
	CreateOffer(ctx context.Context, in *CreateOfferRequest, opts ...grpc.CallOption) (*CreateOfferResponse, error)
	// Get an offer.
	GetOffer(ctx context.Context, in *GetOfferRequest, opts ...grpc.CallOption) (*GetOfferResponse, error)
	// Update an offer.
	UpdateOffer(ctx context.Context, in *UpdateOfferRequest, opts ...grpc.CallOption) (*UpdateOfferResponse, error)
	// Delete an offer.
	DeleteOffer(ctx context.Context, in *DeleteOfferRequest, opts ...grpc.CallOption) (*DeleteOfferResponse, error)
	// Accept an offer and proceed transaction.
	AcceptOffer(ctx context.Context, in *AcceptOfferRequest, opts ...grpc.CallOption) (*AcceptOfferResponse, error)
}

MruVOffersServiceClient is the client API for MruVOffersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MruVOffersServiceServer

type MruVOffersServiceServer interface {
	// Create an offer.
	CreateOffer(context.Context, *CreateOfferRequest) (*CreateOfferResponse, error)
	// Get an offer.
	GetOffer(context.Context, *GetOfferRequest) (*GetOfferResponse, error)
	// Update an offer.
	UpdateOffer(context.Context, *UpdateOfferRequest) (*UpdateOfferResponse, error)
	// Delete an offer.
	DeleteOffer(context.Context, *DeleteOfferRequest) (*DeleteOfferResponse, error)
	// Accept an offer and proceed transaction.
	AcceptOffer(context.Context, *AcceptOfferRequest) (*AcceptOfferResponse, error)
}

MruVOffersServiceServer is the server API for MruVOffersService service.

type OfferType

type OfferType int32
const (
	OfferType_UNKNOWN OfferType = 0
)

func (OfferType) Descriptor added in v0.8.4

func (OfferType) Descriptor() protoreflect.EnumDescriptor

func (OfferType) Enum added in v0.8.4

func (x OfferType) Enum() *OfferType

func (OfferType) EnumDescriptor deprecated

func (OfferType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OfferType.Descriptor instead.

func (OfferType) Number added in v0.8.4

func (x OfferType) Number() protoreflect.EnumNumber

func (OfferType) String

func (x OfferType) String() string

func (OfferType) Type added in v0.8.4

type UnimplementedMruVOffersServiceServer

type UnimplementedMruVOffersServiceServer struct {
}

UnimplementedMruVOffersServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMruVOffersServiceServer) AcceptOffer

func (*UnimplementedMruVOffersServiceServer) CreateOffer

func (*UnimplementedMruVOffersServiceServer) DeleteOffer

func (*UnimplementedMruVOffersServiceServer) GetOffer

func (*UnimplementedMruVOffersServiceServer) UpdateOffer

type UpdateOfferRequest

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

Request message for rpc `UpdateOffer`.

func (*UpdateOfferRequest) Descriptor deprecated

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

Deprecated: Use UpdateOfferRequest.ProtoReflect.Descriptor instead.

func (*UpdateOfferRequest) GetId

func (x *UpdateOfferRequest) GetId() uint32

func (*UpdateOfferRequest) ProtoMessage

func (*UpdateOfferRequest) ProtoMessage()

func (*UpdateOfferRequest) ProtoReflect added in v0.8.4

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

func (*UpdateOfferRequest) Reset

func (x *UpdateOfferRequest) Reset()

func (*UpdateOfferRequest) String

func (x *UpdateOfferRequest) String() string

func (*UpdateOfferRequest) Validate

func (m *UpdateOfferRequest) Validate() error

Validate checks the field values on UpdateOfferRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateOfferRequestValidationError

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

UpdateOfferRequestValidationError is the validation error returned by UpdateOfferRequest.Validate if the designated constraints aren't met.

func (UpdateOfferRequestValidationError) Cause

Cause function returns cause value.

func (UpdateOfferRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateOfferRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateOfferRequestValidationError) Field

Field function returns field value.

func (UpdateOfferRequestValidationError) Key

Key function returns key value.

func (UpdateOfferRequestValidationError) Reason

Reason function returns reason value.

type UpdateOfferResponse

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

Response message for rpc `UpdateOffer`.

func (*UpdateOfferResponse) Descriptor deprecated

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

Deprecated: Use UpdateOfferResponse.ProtoReflect.Descriptor instead.

func (*UpdateOfferResponse) ProtoMessage

func (*UpdateOfferResponse) ProtoMessage()

func (*UpdateOfferResponse) ProtoReflect added in v0.8.4

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

func (*UpdateOfferResponse) Reset

func (x *UpdateOfferResponse) Reset()

func (*UpdateOfferResponse) String

func (x *UpdateOfferResponse) String() string

func (*UpdateOfferResponse) Validate

func (m *UpdateOfferResponse) Validate() error

Validate checks the field values on UpdateOfferResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateOfferResponseValidationError

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

UpdateOfferResponseValidationError is the validation error returned by UpdateOfferResponse.Validate if the designated constraints aren't met.

func (UpdateOfferResponseValidationError) Cause

Cause function returns cause value.

func (UpdateOfferResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateOfferResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateOfferResponseValidationError) Field

Field function returns field value.

func (UpdateOfferResponseValidationError) Key

Key function returns key value.

func (UpdateOfferResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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