mycomponent/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: AGPL-3.0

README

MyComponent

This sample demonstrates a user defining a new resource component subtype called MyComponent.

Running

  • Run the server implementing a MyComponent go run server/server.go.
  • Run a standard server connecting to the previous server as a remote cd ../../ && go run web/cmd/server/main.go -config examples/mycomponent/remote.json.
  • Run the client that knows about a MyComponent but talks to it via server with remote go run client/client.go.

Directories

Path Synopsis
Package main tests out a MyComponent client.
Package main tests out a MyComponent client.
Package component implements MyComponent.
Package component implements MyComponent.
proto
api/component/mycomponent/v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
Package main is a sample of a user defined and implemented component type
Package main is a sample of a user defined and implemented component type

Jump to

Keyboard shortcuts

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