grpcnode

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package grpcnode 定义 gRPC 调用节点的配置解码结构。

默认安装路径不注册真实 gRPC node。

Index

Constants

View Source
const NodeType = "grpc"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Target    string            `json:"target"`
	Service   string            `json:"service"`
	Method    string            `json:"method"`
	TimeoutMs int               `json:"timeoutMs"`
	Headers   map[string]string `json:"headers"`
	Payload   interface{}       `json:"payload"`
}

Config 是 gRPC node 从 node.config 解码得到的内部配置。 具体执行器由业务侧按自己的连接管理方式注入。

func DefaultConfig

func DefaultConfig() *Config

Jump to

Keyboard shortcuts

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