pb

package
v0.0.0-...-618fe63 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterBlogServer

func RegisterBlogServer(s *grpc.Server, srv BlogServer)

Types

type BlogClient

type BlogClient interface {
	CreatePost(ctx context.Context, in *CreatePostRequest, opts ...grpc.CallOption) (*CreatePostReply, error)
	UpdatePost(ctx context.Context, in *UpdatePostRequest, opts ...grpc.CallOption) (*UpdatePostReply, error)
	GetPost(ctx context.Context, in *GetPostRequest, opts ...grpc.CallOption) (*GetPostReply, error)
	DeletePost(ctx context.Context, in *DeletePostRequest, opts ...grpc.CallOption) (*DeletePostReply, error)
	CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*CreateTagReply, error)
	GetTag(ctx context.Context, in *GetTagRequest, opts ...grpc.CallOption) (*GetTagReply, error)
	UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*UpdateTagReply, error)
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*DeleteTagReply, error)
	Upload(ctx context.Context, in *UploadRequest, opts ...grpc.CallOption) (*UploadReply, error)
}

BlogClient is the client API for Blog service.

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

func NewBlogClient

func NewBlogClient(cc grpc.ClientConnInterface) BlogClient

type CreatePostReply

type CreatePostReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePostReply) Descriptor deprecated

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

Deprecated: Use CreatePostReply.ProtoReflect.Descriptor instead.

func (*CreatePostReply) GetMessage

func (x *CreatePostReply) GetMessage() string

func (*CreatePostReply) GetStatus

func (x *CreatePostReply) GetStatus() string

func (*CreatePostReply) ProtoMessage

func (*CreatePostReply) ProtoMessage()

func (*CreatePostReply) ProtoReflect

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

func (*CreatePostReply) Reset

func (x *CreatePostReply) Reset()

func (*CreatePostReply) String

func (x *CreatePostReply) String() string

type CreatePostRequest

type CreatePostRequest struct {
	UserID      uint64   `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Title       string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Slug        string   `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	Description string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Text        string   `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	Status      string   `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Params      []*Query `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty"`
	Medias      []uint64 `protobuf:"varint,8,rep,packed,name=medias,proto3" json:"medias,omitempty"`
	Tags        []uint64 `protobuf:"varint,9,rep,packed,name=Tags,proto3" json:"Tags,omitempty"`
	Token       string   `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePostRequest) Descriptor deprecated

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

Deprecated: Use CreatePostRequest.ProtoReflect.Descriptor instead.

func (*CreatePostRequest) GetDescription

func (x *CreatePostRequest) GetDescription() string

func (*CreatePostRequest) GetMedias

func (x *CreatePostRequest) GetMedias() []uint64

func (*CreatePostRequest) GetParams

func (x *CreatePostRequest) GetParams() []*Query

func (*CreatePostRequest) GetSlug

func (x *CreatePostRequest) GetSlug() string

func (*CreatePostRequest) GetStatus

func (x *CreatePostRequest) GetStatus() string

func (*CreatePostRequest) GetTags

func (x *CreatePostRequest) GetTags() []uint64

func (*CreatePostRequest) GetText

func (x *CreatePostRequest) GetText() string

func (*CreatePostRequest) GetTitle

func (x *CreatePostRequest) GetTitle() string

func (*CreatePostRequest) GetToken

func (x *CreatePostRequest) GetToken() string

func (*CreatePostRequest) GetUserID

func (x *CreatePostRequest) GetUserID() uint64

func (*CreatePostRequest) ProtoMessage

func (*CreatePostRequest) ProtoMessage()

func (*CreatePostRequest) ProtoReflect

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

func (*CreatePostRequest) Reset

func (x *CreatePostRequest) Reset()

func (*CreatePostRequest) String

func (x *CreatePostRequest) String() string

type CreateTagReply

type CreateTagReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTagReply) Descriptor deprecated

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

Deprecated: Use CreateTagReply.ProtoReflect.Descriptor instead.

func (*CreateTagReply) GetMessage

func (x *CreateTagReply) GetMessage() string

func (*CreateTagReply) GetStatus

func (x *CreateTagReply) GetStatus() string

func (*CreateTagReply) ProtoMessage

func (*CreateTagReply) ProtoMessage()

func (*CreateTagReply) ProtoReflect

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

func (*CreateTagReply) Reset

func (x *CreateTagReply) Reset()

func (*CreateTagReply) String

func (x *CreateTagReply) String() string

type CreateTagRequest

type CreateTagRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTagRequest) Descriptor deprecated

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetName

func (x *CreateTagRequest) GetName() string

func (*CreateTagRequest) GetToken

func (x *CreateTagRequest) GetToken() string

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

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

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type DeletePostReply

type DeletePostReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePostReply) Descriptor deprecated

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

Deprecated: Use DeletePostReply.ProtoReflect.Descriptor instead.

func (*DeletePostReply) GetMessage

func (x *DeletePostReply) GetMessage() string

func (*DeletePostReply) GetStatus

func (x *DeletePostReply) GetStatus() string

func (*DeletePostReply) ProtoMessage

func (*DeletePostReply) ProtoMessage()

func (*DeletePostReply) ProtoReflect

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

func (*DeletePostReply) Reset

func (x *DeletePostReply) Reset()

func (*DeletePostReply) String

func (x *DeletePostReply) String() string

type DeletePostRequest

type DeletePostRequest struct {
	Filter []*Query `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	Token  string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePostRequest) Descriptor deprecated

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

Deprecated: Use DeletePostRequest.ProtoReflect.Descriptor instead.

func (*DeletePostRequest) GetFilter

func (x *DeletePostRequest) GetFilter() []*Query

func (*DeletePostRequest) GetToken

func (x *DeletePostRequest) GetToken() string

func (*DeletePostRequest) ProtoMessage

func (*DeletePostRequest) ProtoMessage()

func (*DeletePostRequest) ProtoReflect

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

func (*DeletePostRequest) Reset

func (x *DeletePostRequest) Reset()

func (*DeletePostRequest) String

func (x *DeletePostRequest) String() string

type DeleteTagReply

type DeleteTagReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTagReply) Descriptor deprecated

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

Deprecated: Use DeleteTagReply.ProtoReflect.Descriptor instead.

func (*DeleteTagReply) GetMessage

func (x *DeleteTagReply) GetMessage() string

func (*DeleteTagReply) GetStatus

func (x *DeleteTagReply) GetStatus() string

func (*DeleteTagReply) ProtoMessage

func (*DeleteTagReply) ProtoMessage()

func (*DeleteTagReply) ProtoReflect

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

func (*DeleteTagReply) Reset

func (x *DeleteTagReply) Reset()

func (*DeleteTagReply) String

func (x *DeleteTagReply) String() string

type DeleteTagRequest

type DeleteTagRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTagRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) GetToken

func (x *DeleteTagRequest) GetToken() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type GetPostReply

type GetPostReply struct {
	Message string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Posts   []*Posts `protobuf:"bytes,3,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPostReply) Descriptor deprecated

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

Deprecated: Use GetPostReply.ProtoReflect.Descriptor instead.

func (*GetPostReply) GetMessage

func (x *GetPostReply) GetMessage() string

func (*GetPostReply) GetPosts

func (x *GetPostReply) GetPosts() []*Posts

func (*GetPostReply) GetStatus

func (x *GetPostReply) GetStatus() string

func (*GetPostReply) ProtoMessage

func (*GetPostReply) ProtoMessage()

func (*GetPostReply) ProtoReflect

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

func (*GetPostReply) Reset

func (x *GetPostReply) Reset()

func (*GetPostReply) String

func (x *GetPostReply) String() string

type GetPostRequest

type GetPostRequest struct {
	Must   []*Query `protobuf:"bytes,1,rep,name=must,proto3" json:"must,omitempty"`
	Should []*Query `protobuf:"bytes,2,rep,name=should,proto3" json:"should,omitempty"`
	Not    []*Query `protobuf:"bytes,3,rep,name=not,proto3" json:"not,omitempty"`
	Filter []*Query `protobuf:"bytes,4,rep,name=filter,proto3" json:"filter,omitempty"`
	Token  string   `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPostRequest) Descriptor deprecated

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

Deprecated: Use GetPostRequest.ProtoReflect.Descriptor instead.

func (*GetPostRequest) GetFilter

func (x *GetPostRequest) GetFilter() []*Query

func (*GetPostRequest) GetMust

func (x *GetPostRequest) GetMust() []*Query

func (*GetPostRequest) GetNot

func (x *GetPostRequest) GetNot() []*Query

func (*GetPostRequest) GetShould

func (x *GetPostRequest) GetShould() []*Query

func (*GetPostRequest) GetToken

func (x *GetPostRequest) GetToken() string

func (*GetPostRequest) ProtoMessage

func (*GetPostRequest) ProtoMessage()

func (*GetPostRequest) ProtoReflect

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

func (*GetPostRequest) Reset

func (x *GetPostRequest) Reset()

func (*GetPostRequest) String

func (x *GetPostRequest) String() string

type GetTagReply

type GetTagReply struct {
	Message string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Tags    []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTagReply) Descriptor deprecated

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

Deprecated: Use GetTagReply.ProtoReflect.Descriptor instead.

func (*GetTagReply) GetMessage

func (x *GetTagReply) GetMessage() string

func (*GetTagReply) GetStatus

func (x *GetTagReply) GetStatus() string

func (*GetTagReply) GetTags

func (x *GetTagReply) GetTags() []string

func (*GetTagReply) ProtoMessage

func (*GetTagReply) ProtoMessage()

func (*GetTagReply) ProtoReflect

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

func (*GetTagReply) Reset

func (x *GetTagReply) Reset()

func (*GetTagReply) String

func (x *GetTagReply) String() string

type GetTagRequest

type GetTagRequest struct {
	Filter []*Query `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	Token  string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTagRequest) Descriptor deprecated

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

Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.

func (*GetTagRequest) GetFilter

func (x *GetTagRequest) GetFilter() []*Query

func (*GetTagRequest) GetToken

func (x *GetTagRequest) GetToken() string

func (*GetTagRequest) ProtoMessage

func (*GetTagRequest) ProtoMessage()

func (*GetTagRequest) ProtoReflect

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

func (*GetTagRequest) Reset

func (x *GetTagRequest) Reset()

func (*GetTagRequest) String

func (x *GetTagRequest) String() string

type Media

type Media struct {
	Url         string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Type        string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Title       string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Media) Descriptor deprecated

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

Deprecated: Use Media.ProtoReflect.Descriptor instead.

func (*Media) GetDescription

func (x *Media) GetDescription() string

func (*Media) GetTitle

func (x *Media) GetTitle() string

func (*Media) GetType

func (x *Media) GetType() string

func (*Media) GetUrl

func (x *Media) GetUrl() string

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) ProtoReflect

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

func (*Media) Reset

func (x *Media) Reset()

func (*Media) String

func (x *Media) String() string

type Posts

type Posts struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Slug        string   `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Text        string   `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	Status      string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Params      []*Query `protobuf:"bytes,6,rep,name=params,proto3" json:"params,omitempty"`
	Medias      []*Media `protobuf:"bytes,7,rep,name=medias,proto3" json:"medias,omitempty"`
	Tags        []*Tag   `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	PublishedAT string   `protobuf:"bytes,9,opt,name=publishedAT,proto3" json:"publishedAT,omitempty"`
	// contains filtered or unexported fields
}

func (*Posts) Descriptor deprecated

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

Deprecated: Use Posts.ProtoReflect.Descriptor instead.

func (*Posts) GetDescription

func (x *Posts) GetDescription() string

func (*Posts) GetMedias

func (x *Posts) GetMedias() []*Media

func (*Posts) GetParams

func (x *Posts) GetParams() []*Query

func (*Posts) GetPublishedAT

func (x *Posts) GetPublishedAT() string

func (*Posts) GetSlug

func (x *Posts) GetSlug() string

func (*Posts) GetStatus

func (x *Posts) GetStatus() string

func (*Posts) GetTags

func (x *Posts) GetTags() []*Tag

func (*Posts) GetText

func (x *Posts) GetText() string

func (*Posts) GetTitle

func (x *Posts) GetTitle() string

func (*Posts) ProtoMessage

func (*Posts) ProtoMessage()

func (*Posts) ProtoReflect

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

func (*Posts) Reset

func (x *Posts) Reset()

func (*Posts) String

func (x *Posts) String() string

type Query

type Query struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetKey

func (x *Query) GetKey() string

func (*Query) GetValue

func (x *Query) GetValue() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type Tag

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

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type UnimplementedBlogServer

type UnimplementedBlogServer struct {
}

UnimplementedBlogServer can be embedded to have forward compatible implementations.

func (*UnimplementedBlogServer) CreatePost

func (*UnimplementedBlogServer) CreateTag

func (*UnimplementedBlogServer) DeletePost

func (*UnimplementedBlogServer) DeleteTag

func (*UnimplementedBlogServer) GetPost

func (*UnimplementedBlogServer) GetTag

func (*UnimplementedBlogServer) UpdatePost

func (*UnimplementedBlogServer) UpdateTag

func (*UnimplementedBlogServer) Upload

type UpdatePostReply

type UpdatePostReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePostReply) Descriptor deprecated

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

Deprecated: Use UpdatePostReply.ProtoReflect.Descriptor instead.

func (*UpdatePostReply) GetMessage

func (x *UpdatePostReply) GetMessage() string

func (*UpdatePostReply) GetStatus

func (x *UpdatePostReply) GetStatus() string

func (*UpdatePostReply) ProtoMessage

func (*UpdatePostReply) ProtoMessage()

func (*UpdatePostReply) ProtoReflect

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

func (*UpdatePostReply) Reset

func (x *UpdatePostReply) Reset()

func (*UpdatePostReply) String

func (x *UpdatePostReply) String() string

type UpdatePostRequest

type UpdatePostRequest struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Slug        string   `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Text        string   `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	Status      string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Params      []*Query `protobuf:"bytes,6,rep,name=params,proto3" json:"params,omitempty"`
	Medias      []uint64 `protobuf:"varint,7,rep,packed,name=medias,proto3" json:"medias,omitempty"`
	Tags        []uint64 `protobuf:"varint,8,rep,packed,name=Tags,proto3" json:"Tags,omitempty"`
	Token       string   `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePostRequest) Descriptor deprecated

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

Deprecated: Use UpdatePostRequest.ProtoReflect.Descriptor instead.

func (*UpdatePostRequest) GetDescription

func (x *UpdatePostRequest) GetDescription() string

func (*UpdatePostRequest) GetMedias

func (x *UpdatePostRequest) GetMedias() []uint64

func (*UpdatePostRequest) GetParams

func (x *UpdatePostRequest) GetParams() []*Query

func (*UpdatePostRequest) GetSlug

func (x *UpdatePostRequest) GetSlug() string

func (*UpdatePostRequest) GetStatus

func (x *UpdatePostRequest) GetStatus() string

func (*UpdatePostRequest) GetTags

func (x *UpdatePostRequest) GetTags() []uint64

func (*UpdatePostRequest) GetText

func (x *UpdatePostRequest) GetText() string

func (*UpdatePostRequest) GetTitle

func (x *UpdatePostRequest) GetTitle() string

func (*UpdatePostRequest) GetToken

func (x *UpdatePostRequest) GetToken() string

func (*UpdatePostRequest) ProtoMessage

func (*UpdatePostRequest) ProtoMessage()

func (*UpdatePostRequest) ProtoReflect

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

func (*UpdatePostRequest) Reset

func (x *UpdatePostRequest) Reset()

func (*UpdatePostRequest) String

func (x *UpdatePostRequest) String() string

type UpdateTagReply

type UpdateTagReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTagReply) Descriptor deprecated

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

Deprecated: Use UpdateTagReply.ProtoReflect.Descriptor instead.

func (*UpdateTagReply) GetMessage

func (x *UpdateTagReply) GetMessage() string

func (*UpdateTagReply) GetStatus

func (x *UpdateTagReply) GetStatus() string

func (*UpdateTagReply) ProtoMessage

func (*UpdateTagReply) ProtoMessage()

func (*UpdateTagReply) ProtoReflect

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

func (*UpdateTagReply) Reset

func (x *UpdateTagReply) Reset()

func (*UpdateTagReply) String

func (x *UpdateTagReply) String() string

type UpdateTagRequest

type UpdateTagRequest struct {
	OldName string `protobuf:"bytes,1,opt,name=oldName,proto3" json:"oldName,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=newName,proto3" json:"newName,omitempty"`
	Token   string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTagRequest) Descriptor deprecated

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

Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagRequest) GetNewName

func (x *UpdateTagRequest) GetNewName() string

func (*UpdateTagRequest) GetOldName

func (x *UpdateTagRequest) GetOldName() string

func (*UpdateTagRequest) GetToken

func (x *UpdateTagRequest) GetToken() string

func (*UpdateTagRequest) ProtoMessage

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) ProtoReflect

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

func (*UpdateTagRequest) Reset

func (x *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String

func (x *UpdateTagRequest) String() string

type UploadReply

type UploadReply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status  string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadReply) Descriptor deprecated

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

Deprecated: Use UploadReply.ProtoReflect.Descriptor instead.

func (*UploadReply) GetMessage

func (x *UploadReply) GetMessage() string

func (*UploadReply) GetStatus

func (x *UploadReply) GetStatus() string

func (*UploadReply) ProtoMessage

func (*UploadReply) ProtoMessage()

func (*UploadReply) ProtoReflect

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

func (*UploadReply) Reset

func (x *UploadReply) Reset()

func (*UploadReply) String

func (x *UploadReply) String() string

type UploadRequest

type UploadRequest struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	FileType    string `protobuf:"bytes,3,opt,name=fileType,proto3" json:"fileType,omitempty"`
	Data        []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Token       string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadRequest) Descriptor deprecated

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

Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.

func (*UploadRequest) GetData

func (x *UploadRequest) GetData() []byte

func (*UploadRequest) GetDescription

func (x *UploadRequest) GetDescription() string

func (*UploadRequest) GetFileType

func (x *UploadRequest) GetFileType() string

func (*UploadRequest) GetTitle

func (x *UploadRequest) GetTitle() string

func (*UploadRequest) GetToken

func (x *UploadRequest) GetToken() string

func (*UploadRequest) ProtoMessage

func (*UploadRequest) ProtoMessage()

func (*UploadRequest) ProtoReflect

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

func (*UploadRequest) Reset

func (x *UploadRequest) Reset()

func (*UploadRequest) String

func (x *UploadRequest) String() string

Jump to

Keyboard shortcuts

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