config

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown  string = ""
	Thrift   string = "thrift"
	Protobuf string = "protobuf"
)

Define constants for supported IDL types.

View Source
const (
	TTHeader       string = "TTHeader"
	Framed         string = "Framed"
	TTHeaderFramed string = "TTHeaderFramed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Verbose        bool
	Type           string
	IDLPath        string
	Endpoint       []string
	IDLServiceName string
	Method         string
	Data           string
	Transport      string
	File           string // The file path of Input
	Meta           map[string]string
	MetaPersistent map[string]string
	MetaBackward   bool
	BizError       bool
	ConnectTimeout string
	RPCTimeout     string
}

We provide a general configuration so that it can be utilized by others apart from kitexcall.

type ConfigBuilder

type ConfigBuilder interface {
	BuildConfig() Config
}

Jump to

Keyboard shortcuts

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