pool

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_gift_pool_gift_pool_proto protoreflect.FileDescriptor

Functions

func NewGiftPoolEndpoints

func NewGiftPoolEndpoints() []*api.Endpoint

func RegisterGiftPoolHandler

func RegisterGiftPoolHandler(s server.Server, hdlr GiftPoolHandler, opts ...server.HandlerOption) error

Types

type AddGiftItemReq

type AddGiftItemReq struct {
	Item *GiftItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*AddGiftItemReq) Descriptor deprecated

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

Deprecated: Use AddGiftItemReq.ProtoReflect.Descriptor instead.

func (*AddGiftItemReq) GetItem

func (x *AddGiftItemReq) GetItem() *GiftItem

func (*AddGiftItemReq) ProtoMessage

func (*AddGiftItemReq) ProtoMessage()

func (*AddGiftItemReq) ProtoReflect

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

func (*AddGiftItemReq) Reset

func (x *AddGiftItemReq) Reset()

func (*AddGiftItemReq) String

func (x *AddGiftItemReq) String() string

func (*AddGiftItemReq) Validate

func (m *AddGiftItemReq) Validate() error

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

func (m *AddGiftItemReq) ValidateAll() error

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

type AddGiftItemReqMultiError

type AddGiftItemReqMultiError []error

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

func (AddGiftItemReqMultiError) AllErrors

func (m AddGiftItemReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddGiftItemReqMultiError) Error

func (m AddGiftItemReqMultiError) Error() string

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

type AddGiftItemReqValidationError

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

AddGiftItemReqValidationError is the validation error returned by AddGiftItemReq.Validate if the designated constraints aren't met.

func (AddGiftItemReqValidationError) Cause

Cause function returns cause value.

func (AddGiftItemReqValidationError) Error

Error satisfies the builtin error interface

func (AddGiftItemReqValidationError) ErrorName

func (e AddGiftItemReqValidationError) ErrorName() string

ErrorName returns error name.

func (AddGiftItemReqValidationError) Field

Field function returns field value.

func (AddGiftItemReqValidationError) Key

Key function returns key value.

func (AddGiftItemReqValidationError) Reason

Reason function returns reason value.

type AddGiftItemRes

type AddGiftItemRes struct {
	Item *GiftItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*AddGiftItemRes) Descriptor deprecated

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

Deprecated: Use AddGiftItemRes.ProtoReflect.Descriptor instead.

func (*AddGiftItemRes) GetItem

func (x *AddGiftItemRes) GetItem() *GiftItem

func (*AddGiftItemRes) ProtoMessage

func (*AddGiftItemRes) ProtoMessage()

func (*AddGiftItemRes) ProtoReflect

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

func (*AddGiftItemRes) Reset

func (x *AddGiftItemRes) Reset()

func (*AddGiftItemRes) String

func (x *AddGiftItemRes) String() string

func (*AddGiftItemRes) Validate

func (m *AddGiftItemRes) Validate() error

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

func (m *AddGiftItemRes) ValidateAll() error

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

type AddGiftItemResMultiError

type AddGiftItemResMultiError []error

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

func (AddGiftItemResMultiError) AllErrors

func (m AddGiftItemResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddGiftItemResMultiError) Error

func (m AddGiftItemResMultiError) Error() string

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

type AddGiftItemResValidationError

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

AddGiftItemResValidationError is the validation error returned by AddGiftItemRes.Validate if the designated constraints aren't met.

func (AddGiftItemResValidationError) Cause

Cause function returns cause value.

func (AddGiftItemResValidationError) Error

Error satisfies the builtin error interface

func (AddGiftItemResValidationError) ErrorName

func (e AddGiftItemResValidationError) ErrorName() string

ErrorName returns error name.

func (AddGiftItemResValidationError) Field

Field function returns field value.

func (AddGiftItemResValidationError) Key

Key function returns key value.

func (AddGiftItemResValidationError) Reason

Reason function returns reason value.

type GiftItem

type GiftItem struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`                             // 名称
	Level     int32  `protobuf:"varint,3,opt,name=level,proto3" json:"level"`                          // 等级 1普通 2高级(奢华)
	Thumbnail string `protobuf:"bytes,4,opt,name=thumbnail,proto3" json:"thumbnail"`                   // 缩略图
	ShowState int32  `protobuf:"varint,5,opt,name=show_state,json=showState,proto3" json:"show_state"` // 显示状态 1 不显示 2 显示 (能不能在编辑礼物时看到)
	VideoMp4  string `protobuf:"bytes,6,opt,name=video_mp4,json=videoMp4,proto3" json:"video_mp4"`     // mp4动画
	VideoPag  string `protobuf:"bytes,7,opt,name=video_pag,json=videoPag,proto3" json:"video_pag"`     // pag动画
	CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at"`  // 创建时间
	UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`  // 更新时间
	// contains filtered or unexported fields
}

func (*GiftItem) Descriptor deprecated

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

Deprecated: Use GiftItem.ProtoReflect.Descriptor instead.

func (*GiftItem) GetCreatedAt

func (x *GiftItem) GetCreatedAt() string

func (*GiftItem) GetId

func (x *GiftItem) GetId() int64

func (*GiftItem) GetLevel

func (x *GiftItem) GetLevel() int32

func (*GiftItem) GetName

func (x *GiftItem) GetName() string

func (*GiftItem) GetShowState

func (x *GiftItem) GetShowState() int32

func (*GiftItem) GetThumbnail

func (x *GiftItem) GetThumbnail() string

func (*GiftItem) GetUpdatedAt

func (x *GiftItem) GetUpdatedAt() string

func (*GiftItem) GetVideoMp4

func (x *GiftItem) GetVideoMp4() string

func (*GiftItem) GetVideoPag

func (x *GiftItem) GetVideoPag() string

func (*GiftItem) ProtoMessage

func (*GiftItem) ProtoMessage()

func (*GiftItem) ProtoReflect

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

func (*GiftItem) Reset

func (x *GiftItem) Reset()

func (*GiftItem) String

func (x *GiftItem) String() string

func (*GiftItem) Validate

func (m *GiftItem) Validate() error

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

func (m *GiftItem) ValidateAll() error

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

type GiftItemMultiError

type GiftItemMultiError []error

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

func (GiftItemMultiError) AllErrors

func (m GiftItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GiftItemMultiError) Error

func (m GiftItemMultiError) Error() string

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

type GiftItemValidationError

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

GiftItemValidationError is the validation error returned by GiftItem.Validate if the designated constraints aren't met.

func (GiftItemValidationError) Cause

func (e GiftItemValidationError) Cause() error

Cause function returns cause value.

func (GiftItemValidationError) Error

func (e GiftItemValidationError) Error() string

Error satisfies the builtin error interface

func (GiftItemValidationError) ErrorName

func (e GiftItemValidationError) ErrorName() string

ErrorName returns error name.

func (GiftItemValidationError) Field

func (e GiftItemValidationError) Field() string

Field function returns field value.

func (GiftItemValidationError) Key

func (e GiftItemValidationError) Key() bool

Key function returns key value.

func (GiftItemValidationError) Reason

func (e GiftItemValidationError) Reason() string

Reason function returns reason value.

type GiftPoolService

type GiftPoolService interface {
	AddGiftItem(ctx context.Context, in *AddGiftItemReq, opts ...client.CallOption) (*AddGiftItemRes, error)
	UpdateGiftItem(ctx context.Context, in *UpdateGiftItemReq, opts ...client.CallOption) (*UpdateGiftItemRes, error)
	UpdateShowState(ctx context.Context, in *UpdateShowStateReq, opts ...client.CallOption) (*UpdateShowStateRes, error)
	ListGiftItem(ctx context.Context, in *ListGiftItemReq, opts ...client.CallOption) (*ListGiftItemRes, error)
}

func NewGiftPoolService

func NewGiftPoolService(name string, c client.Client) GiftPoolService

type ListGiftItemReq

type ListGiftItemReq struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id"`    //
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //
	ShowState int32  `protobuf:"varint,5,opt,name=show_state,json=showState,proto3" json:"show_state"`
	Page      int64  `protobuf:"varint,40,opt,name=page,proto3" json:"page"`  // 页码
	Size      int64  `protobuf:"varint,41,opt,name=size,proto3" json:"size"`  // 单页记录数
	Sort      string `protobuf:"bytes,42,opt,name=sort,proto3" json:"sort"`   // 排序方式 asc/desc
	Order     string `protobuf:"bytes,43,opt,name=order,proto3" json:"order"` // 排序值 created_at
	// contains filtered or unexported fields
}

func (*ListGiftItemReq) Descriptor deprecated

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

Deprecated: Use ListGiftItemReq.ProtoReflect.Descriptor instead.

func (*ListGiftItemReq) GetId

func (x *ListGiftItemReq) GetId() int64

func (*ListGiftItemReq) GetName

func (x *ListGiftItemReq) GetName() string

func (*ListGiftItemReq) GetOrder

func (x *ListGiftItemReq) GetOrder() string

func (*ListGiftItemReq) GetPage

func (x *ListGiftItemReq) GetPage() int64

func (*ListGiftItemReq) GetShowState

func (x *ListGiftItemReq) GetShowState() int32

func (*ListGiftItemReq) GetSize

func (x *ListGiftItemReq) GetSize() int64

func (*ListGiftItemReq) GetSort

func (x *ListGiftItemReq) GetSort() string

func (*ListGiftItemReq) ProtoMessage

func (*ListGiftItemReq) ProtoMessage()

func (*ListGiftItemReq) ProtoReflect

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

func (*ListGiftItemReq) Reset

func (x *ListGiftItemReq) Reset()

func (*ListGiftItemReq) String

func (x *ListGiftItemReq) String() string

func (*ListGiftItemReq) Validate

func (m *ListGiftItemReq) Validate() error

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

func (m *ListGiftItemReq) ValidateAll() error

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

type ListGiftItemReqMultiError

type ListGiftItemReqMultiError []error

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

func (ListGiftItemReqMultiError) AllErrors

func (m ListGiftItemReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGiftItemReqMultiError) Error

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

type ListGiftItemReqValidationError

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

ListGiftItemReqValidationError is the validation error returned by ListGiftItemReq.Validate if the designated constraints aren't met.

func (ListGiftItemReqValidationError) Cause

Cause function returns cause value.

func (ListGiftItemReqValidationError) Error

Error satisfies the builtin error interface

func (ListGiftItemReqValidationError) ErrorName

func (e ListGiftItemReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListGiftItemReqValidationError) Field

Field function returns field value.

func (ListGiftItemReqValidationError) Key

Key function returns key value.

func (ListGiftItemReqValidationError) Reason

Reason function returns reason value.

type ListGiftItemRes

type ListGiftItemRes struct {
	List  []*GiftItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	Page  int64       `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
	Size  int64       `protobuf:"varint,3,opt,name=size,proto3" json:"size"`
	Total int64       `protobuf:"varint,4,opt,name=total,proto3" json:"total"`
	// contains filtered or unexported fields
}

func (*ListGiftItemRes) Descriptor deprecated

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

Deprecated: Use ListGiftItemRes.ProtoReflect.Descriptor instead.

func (*ListGiftItemRes) GetList

func (x *ListGiftItemRes) GetList() []*GiftItem

func (*ListGiftItemRes) GetPage

func (x *ListGiftItemRes) GetPage() int64

func (*ListGiftItemRes) GetSize

func (x *ListGiftItemRes) GetSize() int64

func (*ListGiftItemRes) GetTotal

func (x *ListGiftItemRes) GetTotal() int64

func (*ListGiftItemRes) ProtoMessage

func (*ListGiftItemRes) ProtoMessage()

func (*ListGiftItemRes) ProtoReflect

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

func (*ListGiftItemRes) Reset

func (x *ListGiftItemRes) Reset()

func (*ListGiftItemRes) String

func (x *ListGiftItemRes) String() string

func (*ListGiftItemRes) Validate

func (m *ListGiftItemRes) Validate() error

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

func (m *ListGiftItemRes) ValidateAll() error

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

type ListGiftItemResMultiError

type ListGiftItemResMultiError []error

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

func (ListGiftItemResMultiError) AllErrors

func (m ListGiftItemResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGiftItemResMultiError) Error

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

type ListGiftItemResValidationError

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

ListGiftItemResValidationError is the validation error returned by ListGiftItemRes.Validate if the designated constraints aren't met.

func (ListGiftItemResValidationError) Cause

Cause function returns cause value.

func (ListGiftItemResValidationError) Error

Error satisfies the builtin error interface

func (ListGiftItemResValidationError) ErrorName

func (e ListGiftItemResValidationError) ErrorName() string

ErrorName returns error name.

func (ListGiftItemResValidationError) Field

Field function returns field value.

func (ListGiftItemResValidationError) Key

Key function returns key value.

func (ListGiftItemResValidationError) Reason

Reason function returns reason value.

type UpdateGiftItemReq

type UpdateGiftItemReq struct {
	Item *GiftItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*UpdateGiftItemReq) Descriptor deprecated

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

Deprecated: Use UpdateGiftItemReq.ProtoReflect.Descriptor instead.

func (*UpdateGiftItemReq) GetItem

func (x *UpdateGiftItemReq) GetItem() *GiftItem

func (*UpdateGiftItemReq) ProtoMessage

func (*UpdateGiftItemReq) ProtoMessage()

func (*UpdateGiftItemReq) ProtoReflect

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

func (*UpdateGiftItemReq) Reset

func (x *UpdateGiftItemReq) Reset()

func (*UpdateGiftItemReq) String

func (x *UpdateGiftItemReq) String() string

func (*UpdateGiftItemReq) Validate

func (m *UpdateGiftItemReq) Validate() error

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

func (m *UpdateGiftItemReq) ValidateAll() error

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

type UpdateGiftItemReqMultiError

type UpdateGiftItemReqMultiError []error

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

func (UpdateGiftItemReqMultiError) AllErrors

func (m UpdateGiftItemReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGiftItemReqMultiError) Error

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

type UpdateGiftItemReqValidationError

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

UpdateGiftItemReqValidationError is the validation error returned by UpdateGiftItemReq.Validate if the designated constraints aren't met.

func (UpdateGiftItemReqValidationError) Cause

Cause function returns cause value.

func (UpdateGiftItemReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateGiftItemReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateGiftItemReqValidationError) Field

Field function returns field value.

func (UpdateGiftItemReqValidationError) Key

Key function returns key value.

func (UpdateGiftItemReqValidationError) Reason

Reason function returns reason value.

type UpdateGiftItemRes

type UpdateGiftItemRes struct {
	Item *GiftItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*UpdateGiftItemRes) Descriptor deprecated

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

Deprecated: Use UpdateGiftItemRes.ProtoReflect.Descriptor instead.

func (*UpdateGiftItemRes) GetItem

func (x *UpdateGiftItemRes) GetItem() *GiftItem

func (*UpdateGiftItemRes) ProtoMessage

func (*UpdateGiftItemRes) ProtoMessage()

func (*UpdateGiftItemRes) ProtoReflect

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

func (*UpdateGiftItemRes) Reset

func (x *UpdateGiftItemRes) Reset()

func (*UpdateGiftItemRes) String

func (x *UpdateGiftItemRes) String() string

func (*UpdateGiftItemRes) Validate

func (m *UpdateGiftItemRes) Validate() error

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

func (m *UpdateGiftItemRes) ValidateAll() error

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

type UpdateGiftItemResMultiError

type UpdateGiftItemResMultiError []error

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

func (UpdateGiftItemResMultiError) AllErrors

func (m UpdateGiftItemResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGiftItemResMultiError) Error

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

type UpdateGiftItemResValidationError

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

UpdateGiftItemResValidationError is the validation error returned by UpdateGiftItemRes.Validate if the designated constraints aren't met.

func (UpdateGiftItemResValidationError) Cause

Cause function returns cause value.

func (UpdateGiftItemResValidationError) Error

Error satisfies the builtin error interface

func (UpdateGiftItemResValidationError) ErrorName

ErrorName returns error name.

func (UpdateGiftItemResValidationError) Field

Field function returns field value.

func (UpdateGiftItemResValidationError) Key

Key function returns key value.

func (UpdateGiftItemResValidationError) Reason

Reason function returns reason value.

type UpdateShowStateReq

type UpdateShowStateReq struct {
	Id        int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	ShowState int32 `protobuf:"varint,2,opt,name=show_state,json=showState,proto3" json:"show_state"`
	// contains filtered or unexported fields
}

func (*UpdateShowStateReq) Descriptor deprecated

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

Deprecated: Use UpdateShowStateReq.ProtoReflect.Descriptor instead.

func (*UpdateShowStateReq) GetId

func (x *UpdateShowStateReq) GetId() int64

func (*UpdateShowStateReq) GetShowState

func (x *UpdateShowStateReq) GetShowState() int32

func (*UpdateShowStateReq) ProtoMessage

func (*UpdateShowStateReq) ProtoMessage()

func (*UpdateShowStateReq) ProtoReflect

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

func (*UpdateShowStateReq) Reset

func (x *UpdateShowStateReq) Reset()

func (*UpdateShowStateReq) String

func (x *UpdateShowStateReq) String() string

func (*UpdateShowStateReq) Validate

func (m *UpdateShowStateReq) Validate() error

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

func (m *UpdateShowStateReq) ValidateAll() error

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

type UpdateShowStateReqMultiError

type UpdateShowStateReqMultiError []error

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

func (UpdateShowStateReqMultiError) AllErrors

func (m UpdateShowStateReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateShowStateReqMultiError) Error

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

type UpdateShowStateReqValidationError

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

UpdateShowStateReqValidationError is the validation error returned by UpdateShowStateReq.Validate if the designated constraints aren't met.

func (UpdateShowStateReqValidationError) Cause

Cause function returns cause value.

func (UpdateShowStateReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateShowStateReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateShowStateReqValidationError) Field

Field function returns field value.

func (UpdateShowStateReqValidationError) Key

Key function returns key value.

func (UpdateShowStateReqValidationError) Reason

Reason function returns reason value.

type UpdateShowStateRes

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

func (*UpdateShowStateRes) Descriptor deprecated

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

Deprecated: Use UpdateShowStateRes.ProtoReflect.Descriptor instead.

func (*UpdateShowStateRes) ProtoMessage

func (*UpdateShowStateRes) ProtoMessage()

func (*UpdateShowStateRes) ProtoReflect

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

func (*UpdateShowStateRes) Reset

func (x *UpdateShowStateRes) Reset()

func (*UpdateShowStateRes) String

func (x *UpdateShowStateRes) String() string

func (*UpdateShowStateRes) Validate

func (m *UpdateShowStateRes) Validate() error

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

func (m *UpdateShowStateRes) ValidateAll() error

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

type UpdateShowStateResMultiError

type UpdateShowStateResMultiError []error

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

func (UpdateShowStateResMultiError) AllErrors

func (m UpdateShowStateResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateShowStateResMultiError) Error

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

type UpdateShowStateResValidationError

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

UpdateShowStateResValidationError is the validation error returned by UpdateShowStateRes.Validate if the designated constraints aren't met.

func (UpdateShowStateResValidationError) Cause

Cause function returns cause value.

func (UpdateShowStateResValidationError) Error

Error satisfies the builtin error interface

func (UpdateShowStateResValidationError) ErrorName

ErrorName returns error name.

func (UpdateShowStateResValidationError) Field

Field function returns field value.

func (UpdateShowStateResValidationError) Key

Key function returns key value.

func (UpdateShowStateResValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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