Versions in this module Expand all Collapse all v1 v1.0.1-rc1 Dec 5, 2024 v1.0.0-rc4 Apr 25, 2024 v0 v0.5.1-rc2 Jul 25, 2022 v0.5.1-rc1 Jul 9, 2022 v0.5.0-rc01 Mar 21, 2022 v0.4.0-rc2 Oct 30, 2021 v0.4.0-rc1 Oct 20, 2021 v0.3.0-rc1 Jul 13, 2021 v0.2.1 May 28, 2021 Changes in this version + const CONNECT + const DELETE + const DUBBO + const DUBBO_VALUE + const Down + const GET + const GRPC + const GRPC_VALUE + const HEAD + const METHOD_UNSPECIFIED + const OPTIONS + const POST + const PUT + const REST + const REST_VALUE + const TRACE + const Unknown + const Up + var ApiTypeName = map[int32]string + var ApiTypeValue = map[string]int32 + var DiscoveryTypeName = map[int32]string + var DiscoveryTypeValue = map[string]int32 + var LbPolicyName = map[int32]string + var LbPolicyValue = map[string]int32 + var LimitTypeName = map[int32]string + var LimitTypeValue = map[string]int32 + var MatcherTypeName = map[int32]string + var MatcherTypeValue = map[string]int32 + var ProtocolTypeName = map[int32]string + var ProtocolTypeValue = map[string]int32 + var RequestMethodName = map[int32]string + var RequestMethodValue = map[string]int32 + var StatusName = map[int32]string + var StatusValue = map[string]int32 + var StrategyTypeName = map[int32]string + var StrategyTypeValue = map[string]int32 + func WriteToFile(accessLogMsg string, filePath string) error + type APIMetaConfig struct + APIConfigPath string + Address string + type AccessLogConfig struct + Enable bool + OutPutPath string + type AccessLogData struct + AccessLogConfig AccessLogConfig + AccessLogMsg string + type AccessLogWriter struct + AccessLogDataChan chan AccessLogData + func (alw *AccessLogWriter) Write() + func (alw *AccessLogWriter) Writer(accessLogData AccessLogData) + type Address struct + Name string + SocketAddress SocketAddress + type ApiConfigSource struct + APIType api.ApiType + APITypeStr string + ClusterName []string + type AuthorityConfiguration struct + Rules []AuthorityRule + type AuthorityRule struct + Items []string + Limit LimitType + Strategy StrategyType + type Bootstrap struct + DynamicResources DynamicResources + StaticResources StaticResources + Tracing Tracing + func (bs *Bootstrap) ExistCluster(name string) bool + func (bs *Bootstrap) GetAPIMetaConfig() *APIMetaConfig + func (bs *Bootstrap) GetListeners() []Listener + func (bs *Bootstrap) GetPprof() PprofConf + type Cluster struct + ConnectTimeoutStr string + EdsClusterConfig EdsClusterConfig + HealthChecks []HealthCheck + Hosts []Address + Lb LbPolicy + LbStr string + Name string + Registries map[string]Registry + RequestTimeoutStr string + Type DiscoveryType + TypeStr string + type ConfigSource struct + ApiConfigSource ApiConfigSource + Path string + type CorsPolicy struct + AllowCredentials bool + AllowHeaders string + AllowMethods string + AllowOrigin []string + Enabled bool + ExposeHeaders string + MaxAge string + type CustomHealthCheck struct + Config interface{} + Name string + type DiscoveryType int32 + const EDS + const LogicalDns + const OriginalDst + const Static + const StrictDNS + type DynamicResources struct + type EdsClusterConfig struct + EdsConfig ConfigSource + ServiceName string + type Filter struct + Config interface{} + Name string + type FilterChain struct + FilterChainMatch FilterChainMatch + Filters []Filter + type FilterChainMatch struct + Domains []string + type GrpcHealthCheck struct + Authority string + ServiceName string + type HTTPFilter struct + Config interface{} + Name string + type HeaderMatcher struct + Name string + Regex bool + Value string + type HeaderValue struct + Key string + Value string + type HeaderValueOption struct + Append []bool + Header []HeaderValue + type HealthCheck struct + type Http struct + Config interface{} + Name string + type HttpConfig struct + IdleTimeoutStr string + MaxHeaderBytes int + ReadTimeoutStr string + WriteTimeoutStr string + type HttpConnectionManager struct + AuthorityConfig AuthorityConfiguration + GenerateRequestID bool + HTTPFilters []HTTPFilter + IdleTimeoutStr string + RouteConfig RouteConfiguration + ServerName string + type HttpHealthCheck struct + ExpectedStatuses int64 + Host string + Path string + UseHttp2 bool + type LbPolicy int32 + const IPHash + const Rand + const RoundRobin + const WightRobin + type LimitType int32 + const App + const IP + type Listener struct + Address Address + Config interface{} + FilterChains []FilterChain + Name string + type MatcherType int32 + const Exact + const Prefix + const Regex + const Suffix + type Metadata struct + Info map[string]MetadataValue + type MetadataValue interface + type PprofConf struct + Address Address + Enable bool + type ProtocolType int32 + const HTTP + const TCP + const UDP + type Registry struct + Address string + Password string + Protocol string + Timeout string + Username string + type RequestMethod int32 + type RouteAction struct + Cluster string + ClusterNotFoundResponseCode int + Cors CorsPolicy + HostRewrite string + PrefixRewrite string + Priority int8 + RequestHeadersToAdd HeaderValueOption + ResponseHeadersToAdd HeaderValueOption + ResponseHeadersToRemove []string + Timeout string + type RouteConfiguration struct + InternalOnlyHeaders []string + RequestHeadersToAdd HeaderValueOption + ResponseHeadersToAdd HeaderValueOption + ResponseHeadersToRemove []string + Routes []Router + type Router struct + Match RouterMatch + Redirect RouteAction + Route RouteAction + type RouterMatch struct + CaseSensitive bool + Headers []HeaderMatcher + Path string + Prefix string + Regex string + type ShutdownConfig struct + RejectPolicy string + StepTimeout string + Timeout string + type SocketAddress struct + Address string + Port int + Protocol ProtocolType + ProtocolStr string + ResolverName string + type StaticResources struct + APIMetaConfig *APIMetaConfig + AccessLogConfig AccessLogConfig + Clusters []*Cluster + Listeners []Listener + PprofConf PprofConf + ShutdownConfig *ShutdownConfig + type StrategyType int32 + const Blacklist + const Whitelist + type StringMatcher struct + Matcher MatcherType + func (sm *StringMatcher) Match() (bool, error) + type Tracing struct + Http Http v0.2.1-rc2 Jun 2, 2021