gallery

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGalleryServiceEndpoints

func NewGalleryServiceEndpoints() []*api.Endpoint

func RegisterGalleryServiceHandler

func RegisterGalleryServiceHandler(s server.Server, hdlr GalleryServiceHandler, opts ...server.HandlerOption) error

Types

type BulkCreateRequest added in v0.3.0

type BulkCreateRequest struct {
	Data []*Gallery `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*BulkCreateRequest) Descriptor added in v0.3.0

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

func (*BulkCreateRequest) GetData added in v0.3.0

func (m *BulkCreateRequest) GetData() []*Gallery

func (*BulkCreateRequest) ProtoMessage added in v0.3.0

func (*BulkCreateRequest) ProtoMessage()

func (*BulkCreateRequest) Reset added in v0.3.0

func (m *BulkCreateRequest) Reset()

func (*BulkCreateRequest) String added in v0.3.0

func (m *BulkCreateRequest) String() string

func (*BulkCreateRequest) Validate added in v0.3.0

func (m *BulkCreateRequest) Validate() error

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

func (*BulkCreateRequest) XXX_DiscardUnknown added in v0.3.0

func (m *BulkCreateRequest) XXX_DiscardUnknown()

func (*BulkCreateRequest) XXX_Marshal added in v0.3.0

func (m *BulkCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkCreateRequest) XXX_Merge added in v0.3.0

func (m *BulkCreateRequest) XXX_Merge(src proto.Message)

func (*BulkCreateRequest) XXX_Size added in v0.3.0

func (m *BulkCreateRequest) XXX_Size() int

func (*BulkCreateRequest) XXX_Unmarshal added in v0.3.0

func (m *BulkCreateRequest) XXX_Unmarshal(b []byte) error

type BulkCreateRequestValidationError added in v0.3.0

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

BulkCreateRequestValidationError is the validation error returned by BulkCreateRequest.Validate if the designated constraints aren't met.

func (BulkCreateRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (BulkCreateRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (BulkCreateRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (BulkCreateRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (BulkCreateRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (BulkCreateRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type BulkCreateResponse added in v0.3.0

type BulkCreateResponse struct {
	Data []*Gallery `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*BulkCreateResponse) Descriptor added in v0.3.0

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

func (*BulkCreateResponse) GetData added in v0.3.0

func (m *BulkCreateResponse) GetData() []*Gallery

func (*BulkCreateResponse) ProtoMessage added in v0.3.0

func (*BulkCreateResponse) ProtoMessage()

func (*BulkCreateResponse) Reset added in v0.3.0

func (m *BulkCreateResponse) Reset()

func (*BulkCreateResponse) String added in v0.3.0

func (m *BulkCreateResponse) String() string

func (*BulkCreateResponse) Validate added in v0.3.0

func (m *BulkCreateResponse) Validate() error

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

func (*BulkCreateResponse) XXX_DiscardUnknown added in v0.3.0

func (m *BulkCreateResponse) XXX_DiscardUnknown()

func (*BulkCreateResponse) XXX_Marshal added in v0.3.0

func (m *BulkCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkCreateResponse) XXX_Merge added in v0.3.0

func (m *BulkCreateResponse) XXX_Merge(src proto.Message)

func (*BulkCreateResponse) XXX_Size added in v0.3.0

func (m *BulkCreateResponse) XXX_Size() int

func (*BulkCreateResponse) XXX_Unmarshal added in v0.3.0

func (m *BulkCreateResponse) XXX_Unmarshal(b []byte) error

type BulkCreateResponseValidationError added in v0.3.0

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

BulkCreateResponseValidationError is the validation error returned by BulkCreateResponse.Validate if the designated constraints aren't met.

func (BulkCreateResponseValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (BulkCreateResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (BulkCreateResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (BulkCreateResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (BulkCreateResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (BulkCreateResponseValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetUuid

func (m *DeleteRequest) GetUuid() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

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

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRequest) XXX_Merge

func (m *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

type DeleteRequestValidationError

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

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type Gallery struct {
	Uuid        string            `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	Code        string            `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty" bson:"code"`
	Description string            `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"`
	IsActive    bool              `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty" bson:"is_active"`
	SortOrder   int64             `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"`
	Image       map[string]string `` /* 164-byte string literal not displayed */
	LinkUuid    string            `protobuf:"bytes,8,opt,name=link_uuid,json=linkUuid,proto3" json:"link_uuid,omitempty" bson:"link_uuid"`
	CreatedAt   string            `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"`
	UpdatedAt   string            `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"`
}

func (*Gallery) Descriptor

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

func (*Gallery) GetCode

func (m *Gallery) GetCode() string

func (*Gallery) GetCreatedAt

func (m *Gallery) GetCreatedAt() string

func (*Gallery) GetDescription

func (m *Gallery) GetDescription() string

func (*Gallery) GetImage

func (m *Gallery) GetImage() map[string]string

func (*Gallery) GetIsActive

func (m *Gallery) GetIsActive() bool

func (*Gallery) GetLinkUuid

func (m *Gallery) GetLinkUuid() string

func (*Gallery) GetName

func (m *Gallery) GetName() string

func (*Gallery) GetSortOrder

func (m *Gallery) GetSortOrder() int64

func (*Gallery) GetUpdatedAt

func (m *Gallery) GetUpdatedAt() string

func (*Gallery) GetUuid

func (m *Gallery) GetUuid() string

func (*Gallery) ProtoMessage

func (*Gallery) ProtoMessage()

func (*Gallery) Reset

func (m *Gallery) Reset()

func (*Gallery) String

func (m *Gallery) String() string

func (*Gallery) Validate

func (m *Gallery) Validate() error

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

func (*Gallery) XXX_DiscardUnknown

func (m *Gallery) XXX_DiscardUnknown()

func (*Gallery) XXX_Marshal

func (m *Gallery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Gallery) XXX_Merge

func (m *Gallery) XXX_Merge(src proto.Message)

func (*Gallery) XXX_Size

func (m *Gallery) XXX_Size() int

func (*Gallery) XXX_Unmarshal

func (m *Gallery) XXX_Unmarshal(b []byte) error

type GalleryService

type GalleryService interface {
	Create(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	BulkCreate(ctx context.Context, in *BulkCreateRequest, opts ...client.CallOption) (*BulkCreateResponse, error)
	Update(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*empty.Empty, error)
	Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*Response, error)
}

func NewGalleryService

func NewGalleryService(name string, c client.Client) GalleryService

type GalleryValidationError

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

GalleryValidationError is the validation error returned by Gallery.Validate if the designated constraints aren't met.

func (GalleryValidationError) Cause

func (e GalleryValidationError) Cause() error

Cause function returns cause value.

func (GalleryValidationError) Error

func (e GalleryValidationError) Error() string

Error satisfies the builtin error interface

func (GalleryValidationError) ErrorName

func (e GalleryValidationError) ErrorName() string

ErrorName returns error name.

func (GalleryValidationError) Field

func (e GalleryValidationError) Field() string

Field function returns field value.

func (GalleryValidationError) Key

func (e GalleryValidationError) Key() bool

Key function returns key value.

func (GalleryValidationError) Reason

func (e GalleryValidationError) Reason() string

Reason function returns reason value.

type GetRequest

type GetRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetUuid

func (m *GetRequest) GetUuid() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) Validate

func (m *GetRequest) Validate() error

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

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetRequestValidationError

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type PaginateRequest

type PaginateRequest struct {
	Skip   int64                   `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit  int64                   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Sort   string                  `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	Filter *PaginateRequest_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
}

func (*PaginateRequest) Descriptor

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

func (*PaginateRequest) GetFilter

func (m *PaginateRequest) GetFilter() *PaginateRequest_Filter

func (*PaginateRequest) GetLimit

func (m *PaginateRequest) GetLimit() int64

func (*PaginateRequest) GetSkip

func (m *PaginateRequest) GetSkip() int64

func (*PaginateRequest) GetSort

func (m *PaginateRequest) GetSort() string

func (*PaginateRequest) ProtoMessage

func (*PaginateRequest) ProtoMessage()

func (*PaginateRequest) Reset

func (m *PaginateRequest) Reset()

func (*PaginateRequest) String

func (m *PaginateRequest) String() string

func (*PaginateRequest) Validate

func (m *PaginateRequest) Validate() error

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

func (*PaginateRequest) XXX_DiscardUnknown

func (m *PaginateRequest) XXX_DiscardUnknown()

func (*PaginateRequest) XXX_Marshal

func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateRequest) XXX_Merge

func (m *PaginateRequest) XXX_Merge(src proto.Message)

func (*PaginateRequest) XXX_Size

func (m *PaginateRequest) XXX_Size() int

func (*PaginateRequest) XXX_Unmarshal

func (m *PaginateRequest) XXX_Unmarshal(b []byte) error

type PaginateRequestValidationError

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

PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.

func (PaginateRequestValidationError) Cause

Cause function returns cause value.

func (PaginateRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateRequestValidationError) ErrorName

func (e PaginateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PaginateRequestValidationError) Field

Field function returns field value.

func (PaginateRequestValidationError) Key

Key function returns key value.

func (PaginateRequestValidationError) Reason

Reason function returns reason value.

type PaginateRequest_Filter

type PaginateRequest_Filter struct {
	IsActive bool   `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	LinkUuid string `protobuf:"bytes,2,opt,name=link_uuid,json=linkUuid,proto3" json:"link_uuid,omitempty"`
}

func (*PaginateRequest_Filter) Descriptor

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

func (*PaginateRequest_Filter) GetIsActive

func (m *PaginateRequest_Filter) GetIsActive() bool

func (*PaginateRequest_Filter) GetLinkUuid

func (m *PaginateRequest_Filter) GetLinkUuid() string

func (*PaginateRequest_Filter) ProtoMessage

func (*PaginateRequest_Filter) ProtoMessage()

func (*PaginateRequest_Filter) Reset

func (m *PaginateRequest_Filter) Reset()

func (*PaginateRequest_Filter) String

func (m *PaginateRequest_Filter) String() string

func (*PaginateRequest_Filter) Validate

func (m *PaginateRequest_Filter) Validate() error

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

func (*PaginateRequest_Filter) XXX_DiscardUnknown

func (m *PaginateRequest_Filter) XXX_DiscardUnknown()

func (*PaginateRequest_Filter) XXX_Marshal

func (m *PaginateRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateRequest_Filter) XXX_Merge

func (m *PaginateRequest_Filter) XXX_Merge(src proto.Message)

func (*PaginateRequest_Filter) XXX_Size

func (m *PaginateRequest_Filter) XXX_Size() int

func (*PaginateRequest_Filter) XXX_Unmarshal

func (m *PaginateRequest_Filter) XXX_Unmarshal(b []byte) error

type PaginateRequest_FilterValidationError

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

PaginateRequest_FilterValidationError is the validation error returned by PaginateRequest_Filter.Validate if the designated constraints aren't met.

func (PaginateRequest_FilterValidationError) Cause

Cause function returns cause value.

func (PaginateRequest_FilterValidationError) Error

Error satisfies the builtin error interface

func (PaginateRequest_FilterValidationError) ErrorName

ErrorName returns error name.

func (PaginateRequest_FilterValidationError) Field

Field function returns field value.

func (PaginateRequest_FilterValidationError) Key

Key function returns key value.

func (PaginateRequest_FilterValidationError) Reason

Reason function returns reason value.

type PaginateResponse

type PaginateResponse struct {
	Skip  int64      `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit int64      `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Total int64      `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*Gallery `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
}

func (*PaginateResponse) Descriptor

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

func (*PaginateResponse) GetData

func (m *PaginateResponse) GetData() []*Gallery

func (*PaginateResponse) GetLimit

func (m *PaginateResponse) GetLimit() int64

func (*PaginateResponse) GetSkip

func (m *PaginateResponse) GetSkip() int64

func (*PaginateResponse) GetTotal

func (m *PaginateResponse) GetTotal() int64

func (*PaginateResponse) ProtoMessage

func (*PaginateResponse) ProtoMessage()

func (*PaginateResponse) Reset

func (m *PaginateResponse) Reset()

func (*PaginateResponse) String

func (m *PaginateResponse) String() string

func (*PaginateResponse) Validate

func (m *PaginateResponse) Validate() error

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

func (*PaginateResponse) XXX_DiscardUnknown

func (m *PaginateResponse) XXX_DiscardUnknown()

func (*PaginateResponse) XXX_Marshal

func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateResponse) XXX_Merge

func (m *PaginateResponse) XXX_Merge(src proto.Message)

func (*PaginateResponse) XXX_Size

func (m *PaginateResponse) XXX_Size() int

func (*PaginateResponse) XXX_Unmarshal

func (m *PaginateResponse) XXX_Unmarshal(b []byte) error

type PaginateResponseValidationError

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

PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.

func (PaginateResponseValidationError) Cause

Cause function returns cause value.

func (PaginateResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateResponseValidationError) Field

Field function returns field value.

func (PaginateResponseValidationError) Key

Key function returns key value.

func (PaginateResponseValidationError) Reason

Reason function returns reason value.

type Request

type Request struct {
	Data *Gallery `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetData

func (m *Request) GetData() *Gallery

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) Validate

func (m *Request) Validate() error

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

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type RequestValidationError

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

RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.

func (RequestValidationError) Cause

func (e RequestValidationError) Cause() error

Cause function returns cause value.

func (RequestValidationError) Error

func (e RequestValidationError) Error() string

Error satisfies the builtin error interface

func (RequestValidationError) ErrorName

func (e RequestValidationError) ErrorName() string

ErrorName returns error name.

func (RequestValidationError) Field

func (e RequestValidationError) Field() string

Field function returns field value.

func (RequestValidationError) Key

func (e RequestValidationError) Key() bool

Key function returns key value.

func (RequestValidationError) Reason

func (e RequestValidationError) Reason() string

Reason function returns reason value.

type Response

type Response struct {
	Data *Gallery `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetData

func (m *Response) GetData() *Gallery

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) Validate

func (m *Response) Validate() error

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

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type ResponseValidationError

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

ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.

func (ResponseValidationError) Cause

func (e ResponseValidationError) Cause() error

Cause function returns cause value.

func (ResponseValidationError) Error

func (e ResponseValidationError) Error() string

Error satisfies the builtin error interface

func (ResponseValidationError) ErrorName

func (e ResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseValidationError) Field

func (e ResponseValidationError) Field() string

Field function returns field value.

func (ResponseValidationError) Key

func (e ResponseValidationError) Key() bool

Key function returns key value.

func (ResponseValidationError) Reason

func (e ResponseValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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