resources

package
v0.0.0-...-a9355e8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fanclub_v1_resources_notice_proto protoreflect.FileDescriptor
View Source
var File_fanclub_v1_resources_selflinks_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Notice

type Notice struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title   string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Notice) Descriptor deprecated

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

Deprecated: Use Notice.ProtoReflect.Descriptor instead.

func (*Notice) GetContent

func (x *Notice) GetContent() string

func (*Notice) GetId

func (x *Notice) GetId() string

func (*Notice) GetTitle

func (x *Notice) GetTitle() string

func (*Notice) ProtoMessage

func (*Notice) ProtoMessage()

func (*Notice) ProtoReflect

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

func (*Notice) Reset

func (x *Notice) Reset()

func (*Notice) String

func (x *Notice) String() string

func (*Notice) Validate

func (m *Notice) Validate() error

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

type NoticeValidationError

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

NoticeValidationError is the validation error returned by Notice.Validate if the designated constraints aren't met.

func (NoticeValidationError) Cause

func (e NoticeValidationError) Cause() error

Cause function returns cause value.

func (NoticeValidationError) Error

func (e NoticeValidationError) Error() string

Error satisfies the builtin error interface

func (NoticeValidationError) ErrorName

func (e NoticeValidationError) ErrorName() string

ErrorName returns error name.

func (NoticeValidationError) Field

func (e NoticeValidationError) Field() string

Field function returns field value.

func (NoticeValidationError) Key

func (e NoticeValidationError) Key() bool

Key function returns key value.

func (NoticeValidationError) Reason

func (e NoticeValidationError) Reason() string

Reason function returns reason value.

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

func (*SelfLinks) Descriptor deprecated

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

Deprecated: Use SelfLinks.ProtoReflect.Descriptor instead.

func (*SelfLinks) GetSelf

func (x *SelfLinks) GetSelf() string

func (*SelfLinks) ProtoMessage

func (*SelfLinks) ProtoMessage()

func (*SelfLinks) ProtoReflect

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

func (*SelfLinks) Reset

func (x *SelfLinks) Reset()

func (*SelfLinks) String

func (x *SelfLinks) String() string

func (*SelfLinks) Validate

func (m *SelfLinks) Validate() error

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

type SelfLinksValidationError

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

SelfLinksValidationError is the validation error returned by SelfLinks.Validate if the designated constraints aren't met.

func (SelfLinksValidationError) Cause

func (e SelfLinksValidationError) Cause() error

Cause function returns cause value.

func (SelfLinksValidationError) Error

func (e SelfLinksValidationError) Error() string

Error satisfies the builtin error interface

func (SelfLinksValidationError) ErrorName

func (e SelfLinksValidationError) ErrorName() string

ErrorName returns error name.

func (SelfLinksValidationError) Field

func (e SelfLinksValidationError) Field() string

Field function returns field value.

func (SelfLinksValidationError) Key

Key function returns key value.

func (SelfLinksValidationError) Reason

func (e SelfLinksValidationError) 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