memos

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memo

type Memo struct {
	DisplayTime string           `json:"displayTime"`
	Visibility  string           `json:"visibility"`
	RowStatus   string           `json:"rowStatus"`
	Creator     string           `json:"creator"`
	CreateTime  string           `json:"createTime"`
	UpdateTime  string           `json:"updateTime"`
	Uid         string           `json:"uid"`
	Content     string           `json:"content"`
	Name        string           `json:"name"`
	Tags        []string         `json:"tags"`
	Nodes       []map[string]any `json:"nodes"`
	Resources   []map[string]any `json:"resources"`
	Relations   []map[string]any `json:"relations"`
	Reactions   []map[string]any `json:"reactions"`
	Pinned      bool             `json:"pinned"`
}

TODO: Define the missing types

type MemosClient

type MemosClient struct {
	ServerAddr  string
	AccessToken string
}

func (*MemosClient) NewMemo

func (c *MemosClient) NewMemo(content string) (*Memo, error)

Jump to

Keyboard shortcuts

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