component

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package component implements MyComponent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Named

func Named(name string) resource.Name

Named is a helper for getting the named MyComponent's typed resource name.

Types

type MyComponent

type MyComponent interface {
	DoOne(ctx context.Context, arg1 string) (bool, error)
	DoOneClientStream(ctx context.Context, arg1 []string) (bool, error)
	DoOneServerStream(ctx context.Context, arg1 string) ([]bool, error)
	DoOneBiDiStream(ctx context.Context, arg1 []string) ([]bool, error)
	DoTwo(ctx context.Context, arg1 bool) (string, error)
}

MyComponent is simple.

Jump to

Keyboard shortcuts

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