core

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Session axon_types.Session
}

func (*Edge) CreateEdge

func (e *Edge) CreateEdge(a *axon_types.AxonContext, source_id string, target_id string, animated bool, label string, edge_type string, folder_id string, note_id string) (*axon_types.Edge, error)

func (*Edge) DeleteEdge

func (e *Edge) DeleteEdge(a *axon_types.AxonContext, folder_id string, note_id string, edge_id string) (*string, error)

func (*Edge) FindEdge

func (e *Edge) FindEdge(a *axon_types.AxonContext, folder_id string, note_id string, edge_id string) (*axon_types.Edge, error)

func (*Edge) GetEdges

func (e *Edge) GetEdges(a *axon_types.AxonContext, folder_id string, note_id string) (*[]axon_types.Edge, error)

func (*Edge) UpdateEdge

func (e *Edge) UpdateEdge(a *axon_types.AxonContext, source_id string, target_id string, animated bool, label string, edge_type string, folder_id string, note_id string, edge_id string) (*string, error)

type Folder

type Folder struct {
	Session axon_types.Session
}

func (*Folder) CreateFolder

func (f *Folder) CreateFolder(a *axon_types.AxonContext, folder_name string) (*string, error)

func (*Folder) DeleteFolder

func (f *Folder) DeleteFolder(a *axon_types.AxonContext, folder_id string) (*string, error)

func (*Folder) FindFolder

func (f *Folder) FindFolder(a *axon_types.AxonContext, folder_id string) (*axon_types.Folder, error)

func (*Folder) GetFolderList

func (f *Folder) GetFolderList(a *axon_types.AxonContext) (*[]axon_types.FolderList, error)

func (*Folder) GetFolders

func (f *Folder) GetFolders(a *axon_types.AxonContext) (*[]axon_types.Folder, error)

func (*Folder) UpdateFolder

func (f *Folder) UpdateFolder(a *axon_types.AxonContext, folder_name string, folder_id string) (*string, error)

type FolderAttributes

type FolderAttributes struct {
	FolderName string `json:"folder_name"`
}

type Node

type Node struct {
	Session axon_types.Session
}

func (*Node) CreateNode

func (no *Node) CreateNode(a *axon_types.AxonContext, userNodeData axon_types.NodeData, clientRefPosition axon_types.Position, folder_id string, note_id string) (*axon_types.Node, error)

func (*Node) DeleteNode

func (no *Node) DeleteNode(a *axon_types.AxonContext, folder_id string, note_id string, node_id string) (*string, error)

func (*Node) FindNode

func (no *Node) FindNode(a *axon_types.AxonContext, folder_id string, note_id string, node_id string) (*axon_types.Node, error)

func (*Node) GetNodes

func (no *Node) GetNodes(a *axon_types.AxonContext, folder_id string, note_id string) (*[]axon_types.Node, error)

func (*Node) UpdateNode

func (no *Node) UpdateNode(a *axon_types.AxonContext, userNodeData axon_types.NodeData, clientRefPosition axon_types.Position, userContent axon_types.NodeContent, userStyles axon_types.NodeStyles, folder_id string, note_id string, node_id string) (*string, error)

type Note

type Note struct {
	Session axon_types.Session
}

func (*Note) CreateNote

func (n *Note) CreateNote(a *axon_types.AxonContext, note_name string, description string, folder_id string) (*string, error)

func (*Note) DeleteNote

func (n *Note) DeleteNote(a *axon_types.AxonContext, folder_id string, note_id string) (*string, error)

func (*Note) FindNote

func (n *Note) FindNote(a *axon_types.AxonContext, folder_id string, note_id string) (*axon_types.Note, error)

func (*Note) GetNoteDetail

func (n *Note) GetNoteDetail(a *axon_types.AxonContext, folder_id string, note_id string) (*axon_types.NoteDetail, error)

Gets the note data by ID and all the nodes and edges associated with it

func (*Note) GetNotes

func (n *Note) GetNotes(a *axon_types.AxonContext, folder_id string) (*[]axon_types.Note, error)

func (*Note) UpdateNote

func (n *Note) UpdateNote(a *axon_types.AxonContext, name *string, description *string, folder_id string, note_id string) (*string, error)

type User

type User struct {
}

func (*User) CreateUser

func (u *User) CreateUser(a *axon_types.AxonContext, token *oauth2.Token) (*axon_types.User, error)

func (*User) GetAuthenticatedUserData

func (u *User) GetAuthenticatedUserData(a *axon_types.AxonContext) (axon_types.Session, error)

Jump to

Keyboard shortcuts

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