mycomponent

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: AGPL-3.0 Imports: 0 Imported by: 0

README

MyComponent

This example demonstrates a user defining a new component type 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.

Documentation

Overview

Package mycomponent contains an example on creating a custom resource subtype.

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