server

package
v0.0.0-...-8693642 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObsidianServer

type ObsidianServer struct {
	api.UnimplementedObsidianServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *ObsidianServer

func (*ObsidianServer) AddDatasource

func (s *ObsidianServer) AddDatasource(ctx context.Context, req *api.DatasourceAddRequest) (*api.Response, error)

AddDatasource creates or overwrites a datasource configuration file.

func (*ObsidianServer) CheckForDatasource

CheckForDatasource determines whether a file matching a datasource specifications exists.

func (*ObsidianServer) HTMLNodeHelper

func (s *ObsidianServer) HTMLNodeHelper(ctx context.Context, req *api.HTMLNodeRequest) (*api.HTMlNodeResponse, error)

HTMLNodeHelper lists nodes containing target values and their parents to assist in query structuring.

func (*ObsidianServer) HTMLSearch

HTMLSearch identifies collections of HTML nodes related to the collection of nodes described in the given request.

Jump to

Keyboard shortcuts

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