Documentation ¶
Index ¶
- Constants
- func CreateNote(ctx *biz_context.BizContext, req *model.Note) (*note.CreateNoteResponse, error)
- func CreateOrUpdateShareNote(ctx *biz_context.BizContext, req *note.ShareNoteRequest) (*note.ShareNoteResponse, error)
- func CreateShareNote(ctx *biz_context.BizContext, noteMeta *note_meta.NoteMeta, ...) (*note.ShareNoteResponse, error)
- func GetNote(ctx *biz_context.BizContext, req *note.GetNoteRequest) (*model.Note, error)
- func ListNotes(ctx *biz_context.BizContext, req *note.ListNotesRequest) (*note.ListNotesResponse, error)
- func NewNoteHandler(noteType string) types.NoteHandler
- func UpdateNote(ctx *biz_context.BizContext, req *model.UpdateNote) (*note.UpdateNoteResponse, error)
- func UpdateShareNote(ctx *biz_context.BizContext, noteMeta *note_meta.NoteMeta, ...) (*note.ShareNoteResponse, error)
Constants ¶
View Source
const (
NoteTypeMarkdown = "markdown"
)
Variables ¶
This section is empty.
Functions ¶
func CreateNote ¶
func CreateNote(ctx *biz_context.BizContext, req *model.Note) (*note.CreateNoteResponse, error)
func CreateOrUpdateShareNote ¶
func CreateOrUpdateShareNote(ctx *biz_context.BizContext, req *note.ShareNoteRequest) (*note.ShareNoteResponse, error)
func CreateShareNote ¶
func CreateShareNote(ctx *biz_context.BizContext, noteMeta *note_meta.NoteMeta, req *note.ShareNoteRequest) (*note.ShareNoteResponse, error)
func GetNote ¶
func GetNote(ctx *biz_context.BizContext, req *note.GetNoteRequest) (*model.Note, error)
func ListNotes ¶
func ListNotes(ctx *biz_context.BizContext, req *note.ListNotesRequest) (*note.ListNotesResponse, error)
func NewNoteHandler ¶
func NewNoteHandler(noteType string) types.NoteHandler
func UpdateNote ¶
func UpdateNote(ctx *biz_context.BizContext, req *model.UpdateNote) (*note.UpdateNoteResponse, error)
func UpdateShareNote ¶
func UpdateShareNote(ctx *biz_context.BizContext, noteMeta *note_meta.NoteMeta, req *note.ShareNoteRequest) (*note.ShareNoteResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.