Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyState ¶
func NewProxyState(cfg *stateConfig) *s
Types ¶
type Config ¶
type Config struct {
Backend wirer.Node2NodeWirer
}
type Proxy ¶
type Proxy interface { WireGet(ctx context.Context, req *wirepb.WireRequest) (*wirepb.WireResponse, error) WireCreate(ctx context.Context, req *wirepb.WireRequest) (*wirepb.EmptyResponse, error) WireDelete(ctx context.Context, req *wirepb.WireRequest) (*wirepb.EmptyResponse, error) WireWatch(req *wirepb.WatchRequest, stream wirepb.Wire_WireWatchServer) error }
Click to show internal directories.
Click to hide internal directories.