note

package
v0.0.0-...-443efec Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_markdown_note_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateNoteRequest

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

func (*CreateNoteRequest) Descriptor deprecated

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

Deprecated: Use CreateNoteRequest.ProtoReflect.Descriptor instead.

func (*CreateNoteRequest) ProtoMessage

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) ProtoReflect

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

func (*CreateNoteRequest) Reset

func (x *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String

func (x *CreateNoteRequest) String() string

type CreateNoteResponse

type CreateNoteResponse struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" form:"id" json:"id,omitempty" query:"id"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" form:"created_at" json:"created_at,omitempty" query:"created_at"`
	// contains filtered or unexported fields
}

func (*CreateNoteResponse) Descriptor deprecated

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

Deprecated: Use CreateNoteResponse.ProtoReflect.Descriptor instead.

func (*CreateNoteResponse) GetCreatedAt

func (x *CreateNoteResponse) GetCreatedAt() *timestamppb.Timestamp

func (*CreateNoteResponse) GetId

func (x *CreateNoteResponse) GetId() string

func (*CreateNoteResponse) ProtoMessage

func (*CreateNoteResponse) ProtoMessage()

func (*CreateNoteResponse) ProtoReflect

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

func (*CreateNoteResponse) Reset

func (x *CreateNoteResponse) Reset()

func (*CreateNoteResponse) String

func (x *CreateNoteResponse) String() string

type DeleteNoteRequest

type DeleteNoteRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" form:"id" json:"id,omitempty" query:"id"`
	// contains filtered or unexported fields
}

func (*DeleteNoteRequest) Descriptor deprecated

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

Deprecated: Use DeleteNoteRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoteRequest) GetId

func (x *DeleteNoteRequest) GetId() string

func (*DeleteNoteRequest) ProtoMessage

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) ProtoReflect

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

func (*DeleteNoteRequest) Reset

func (x *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String

func (x *DeleteNoteRequest) String() string

type DeleteNoteResponse

type DeleteNoteResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" form:"success" json:"success,omitempty" query:"success"`
	// contains filtered or unexported fields
}

func (*DeleteNoteResponse) Descriptor deprecated

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

Deprecated: Use DeleteNoteResponse.ProtoReflect.Descriptor instead.

func (*DeleteNoteResponse) GetSuccess

func (x *DeleteNoteResponse) GetSuccess() bool

func (*DeleteNoteResponse) ProtoMessage

func (*DeleteNoteResponse) ProtoMessage()

func (*DeleteNoteResponse) ProtoReflect

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

func (*DeleteNoteResponse) Reset

func (x *DeleteNoteResponse) Reset()

func (*DeleteNoteResponse) String

func (x *DeleteNoteResponse) String() string

type GetNoteMetaRequest

type GetNoteMetaRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" form:"id" json:"id,omitempty" query:"id"`
	// contains filtered or unexported fields
}

func (*GetNoteMetaRequest) Descriptor deprecated

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

Deprecated: Use GetNoteMetaRequest.ProtoReflect.Descriptor instead.

func (*GetNoteMetaRequest) GetId

func (x *GetNoteMetaRequest) GetId() string

func (*GetNoteMetaRequest) ProtoMessage

func (*GetNoteMetaRequest) ProtoMessage()

func (*GetNoteMetaRequest) ProtoReflect

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

func (*GetNoteMetaRequest) Reset

func (x *GetNoteMetaRequest) Reset()

func (*GetNoteMetaRequest) String

func (x *GetNoteMetaRequest) String() string

type GetNoteMetaResponse

type GetNoteMetaResponse struct {
	Meta *NoteMeta `protobuf:"bytes,1,opt,name=meta,proto3" form:"meta" json:"meta,omitempty" query:"meta"`
	// contains filtered or unexported fields
}

func (*GetNoteMetaResponse) Descriptor deprecated

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

Deprecated: Use GetNoteMetaResponse.ProtoReflect.Descriptor instead.

func (*GetNoteMetaResponse) GetMeta

func (x *GetNoteMetaResponse) GetMeta() *NoteMeta

func (*GetNoteMetaResponse) ProtoMessage

func (*GetNoteMetaResponse) ProtoMessage()

func (*GetNoteMetaResponse) ProtoReflect

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

func (*GetNoteMetaResponse) Reset

func (x *GetNoteMetaResponse) Reset()

func (*GetNoteMetaResponse) String

func (x *GetNoteMetaResponse) String() string

type GetNoteRequest

type GetNoteRequest struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" form:"type" json:"type,omitempty" query:"type"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" form:"id" json:"id,omitempty" query:"id"`
	// contains filtered or unexported fields
}

func (*GetNoteRequest) Descriptor deprecated

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

Deprecated: Use GetNoteRequest.ProtoReflect.Descriptor instead.

func (*GetNoteRequest) GetId

func (x *GetNoteRequest) GetId() string

func (*GetNoteRequest) GetType

func (x *GetNoteRequest) GetType() string

func (*GetNoteRequest) ProtoMessage

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) ProtoReflect

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

func (*GetNoteRequest) Reset

func (x *GetNoteRequest) Reset()

func (*GetNoteRequest) String

func (x *GetNoteRequest) String() string

type GetNoteResponse

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

func (*GetNoteResponse) Descriptor deprecated

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

Deprecated: Use GetNoteResponse.ProtoReflect.Descriptor instead.

func (*GetNoteResponse) ProtoMessage

func (*GetNoteResponse) ProtoMessage()

func (*GetNoteResponse) ProtoReflect

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

func (*GetNoteResponse) Reset

func (x *GetNoteResponse) Reset()

func (*GetNoteResponse) String

func (x *GetNoteResponse) String() string

type ListNotesRequest

type ListNotesRequest struct {
	Page     int64  `protobuf:"varint,1,opt,name=page,proto3" form:"page" json:"page,omitempty" query:"page"`
	PageSize int64  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" form:"page_size" json:"page_size,omitempty" query:"page_size"`
	Tag      string `protobuf:"bytes,3,opt,name=tag,proto3" form:"tag" json:"tag,omitempty" query:"tag"`
	// contains filtered or unexported fields
}

func (*ListNotesRequest) Descriptor deprecated

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

Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.

func (*ListNotesRequest) GetPage

func (x *ListNotesRequest) GetPage() int64

func (*ListNotesRequest) GetPageSize

func (x *ListNotesRequest) GetPageSize() int64

func (*ListNotesRequest) GetTag

func (x *ListNotesRequest) GetTag() string

func (*ListNotesRequest) ProtoMessage

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) ProtoReflect

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

func (*ListNotesRequest) Reset

func (x *ListNotesRequest) Reset()

func (*ListNotesRequest) String

func (x *ListNotesRequest) String() string

type ListNotesResponse

type ListNotesResponse struct {
	Notes    []*NoteMeta `protobuf:"bytes,1,rep,name=notes,proto3" form:"notes" json:"notes,omitempty" query:"notes"`
	Total    int64       `protobuf:"varint,2,opt,name=total,proto3" form:"total" json:"total,omitempty" query:"total"`
	Page     int64       `protobuf:"varint,3,opt,name=page,proto3" form:"page" json:"page,omitempty" query:"page"`
	PageSize int64       `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" form:"page_size" json:"page_size,omitempty" query:"page_size"`
	// contains filtered or unexported fields
}

func (*ListNotesResponse) Descriptor deprecated

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

Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.

func (*ListNotesResponse) GetNotes

func (x *ListNotesResponse) GetNotes() []*NoteMeta

func (*ListNotesResponse) GetPage

func (x *ListNotesResponse) GetPage() int64

func (*ListNotesResponse) GetPageSize

func (x *ListNotesResponse) GetPageSize() int64

func (*ListNotesResponse) GetTotal

func (x *ListNotesResponse) GetTotal() int64

func (*ListNotesResponse) ProtoMessage

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) ProtoReflect

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

func (*ListNotesResponse) Reset

func (x *ListNotesResponse) Reset()

func (*ListNotesResponse) String

func (x *ListNotesResponse) String() string

type MarkdownNote

type MarkdownNote struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" form:"content" json:"content,omitempty" query:"content"`
	// contains filtered or unexported fields
}

func (*MarkdownNote) Descriptor deprecated

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

Deprecated: Use MarkdownNote.ProtoReflect.Descriptor instead.

func (*MarkdownNote) GetContent

func (x *MarkdownNote) GetContent() string

func (*MarkdownNote) ProtoMessage

func (*MarkdownNote) ProtoMessage()

func (*MarkdownNote) ProtoReflect

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

func (*MarkdownNote) Reset

func (x *MarkdownNote) Reset()

func (*MarkdownNote) String

func (x *MarkdownNote) String() string

type NoteMeta

type NoteMeta struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" form:"id" json:"id,omitempty" query:"id"`
	UserId    string                 `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" form:"user_id" json:"user_id,omitempty" query:"user_id"`
	Title     string                 `protobuf:"bytes,3,opt,name=title,proto3" form:"title" json:"title,omitempty" query:"title"`
	Type      string                 `protobuf:"bytes,4,opt,name=type,proto3" form:"type" json:"type,omitempty" query:"type"`
	NoteId    string                 `protobuf:"bytes,5,opt,name=note_id,json=noteId,proto3" form:"note_id" json:"note_id,omitempty" query:"note_id"`
	Version   int64                  `protobuf:"varint,6,opt,name=version,proto3" form:"version" json:"version,omitempty" query:"version"`
	IsShare   bool                   `protobuf:"varint,7,opt,name=is_share,json=isShare,proto3" form:"is_share" json:"is_share,omitempty" query:"is_share"`
	ShareId   string                 `protobuf:"bytes,8,opt,name=share_id,json=shareId,proto3" form:"share_id" json:"share_id,omitempty" query:"share_id"`
	Tags      []string               `protobuf:"bytes,9,rep,name=tags,proto3" form:"tags" json:"tags,omitempty" query:"tags"`
	CreatedAt *timestamppb.Timestamp `` /* 126-byte string literal not displayed */
	UpdatedAt *timestamppb.Timestamp `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NoteMeta) Descriptor deprecated

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

Deprecated: Use NoteMeta.ProtoReflect.Descriptor instead.

func (*NoteMeta) GetCreatedAt

func (x *NoteMeta) GetCreatedAt() *timestamppb.Timestamp

func (*NoteMeta) GetId

func (x *NoteMeta) GetId() string

func (*NoteMeta) GetIsShare

func (x *NoteMeta) GetIsShare() bool

func (*NoteMeta) GetNoteId

func (x *NoteMeta) GetNoteId() string

func (*NoteMeta) GetShareId

func (x *NoteMeta) GetShareId() string

func (*NoteMeta) GetTags

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

func (*NoteMeta) GetTitle

func (x *NoteMeta) GetTitle() string

func (*NoteMeta) GetType

func (x *NoteMeta) GetType() string

func (*NoteMeta) GetUpdatedAt

func (x *NoteMeta) GetUpdatedAt() *timestamppb.Timestamp

func (*NoteMeta) GetUserId

func (x *NoteMeta) GetUserId() string

func (*NoteMeta) GetVersion

func (x *NoteMeta) GetVersion() int64

func (*NoteMeta) ProtoMessage

func (*NoteMeta) ProtoMessage()

func (*NoteMeta) ProtoReflect

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

func (*NoteMeta) Reset

func (x *NoteMeta) Reset()

func (*NoteMeta) String

func (x *NoteMeta) String() string

type ShareNoteRequest

type ShareNoteRequest struct {
	NoteId    string `` /* 126-byte string literal not displayed */
	ShareType string `` /* 141-byte string literal not displayed */
	Status    string `protobuf:"bytes,3,opt,name=status,proto3" form:"status" json:"status,omitempty" query:"status"`
	// contains filtered or unexported fields
}

func (*ShareNoteRequest) Descriptor deprecated

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

Deprecated: Use ShareNoteRequest.ProtoReflect.Descriptor instead.

func (*ShareNoteRequest) GetNoteId

func (x *ShareNoteRequest) GetNoteId() string

func (*ShareNoteRequest) GetShareType

func (x *ShareNoteRequest) GetShareType() string

func (*ShareNoteRequest) GetStatus

func (x *ShareNoteRequest) GetStatus() string

func (*ShareNoteRequest) ProtoMessage

func (*ShareNoteRequest) ProtoMessage()

func (*ShareNoteRequest) ProtoReflect

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

func (*ShareNoteRequest) Reset

func (x *ShareNoteRequest) Reset()

func (*ShareNoteRequest) String

func (x *ShareNoteRequest) String() string

type ShareNoteResponse

type ShareNoteResponse struct {
	ShareUrl string `protobuf:"bytes,1,opt,name=share_url,json=shareUrl,proto3" form:"share_url" json:"share_url,omitempty" query:"share_url"`
	// contains filtered or unexported fields
}

func (*ShareNoteResponse) Descriptor deprecated

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

Deprecated: Use ShareNoteResponse.ProtoReflect.Descriptor instead.

func (*ShareNoteResponse) GetShareUrl

func (x *ShareNoteResponse) GetShareUrl() string

func (*ShareNoteResponse) ProtoMessage

func (*ShareNoteResponse) ProtoMessage()

func (*ShareNoteResponse) ProtoReflect

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

func (*ShareNoteResponse) Reset

func (x *ShareNoteResponse) Reset()

func (*ShareNoteResponse) String

func (x *ShareNoteResponse) String() string

type UpdateNoteRequest

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

func (*UpdateNoteRequest) Descriptor deprecated

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

Deprecated: Use UpdateNoteRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoteRequest) ProtoMessage

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) ProtoReflect

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

func (*UpdateNoteRequest) Reset

func (x *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String

func (x *UpdateNoteRequest) String() string

type UpdateNoteResponse

type UpdateNoteResponse struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" form:"version" json:"version,omitempty" query:"version"`
	// contains filtered or unexported fields
}

func (*UpdateNoteResponse) Descriptor deprecated

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

Deprecated: Use UpdateNoteResponse.ProtoReflect.Descriptor instead.

func (*UpdateNoteResponse) GetVersion

func (x *UpdateNoteResponse) GetVersion() int64

func (*UpdateNoteResponse) ProtoMessage

func (*UpdateNoteResponse) ProtoMessage()

func (*UpdateNoteResponse) ProtoReflect

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

func (*UpdateNoteResponse) Reset

func (x *UpdateNoteResponse) Reset()

func (*UpdateNoteResponse) String

func (x *UpdateNoteResponse) String() string

Jump to

Keyboard shortcuts

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