server

package
v0.0.0-...-90deddd Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package server implements a Repository REST server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Repository reflow.Repository
}

Node is a REST node serving a Repository.

func (Node) Do

func (n Node) Do(ctx context.Context, call *rest.Call)

Do performs call on node n.

func (Node) Walk

func (n Node) Walk(ctx context.Context, call *rest.Call, path string) rest.Node

Walk walks the Node tree to path.

Jump to

Keyboard shortcuts

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