package
1.1.5
Repository: https://github.com/soedev/soego.git
Documentation: pkg.go.dev

# Functions

DefaultConfig ...
DefaultContainer returns an default container.
GRPCProxy experimental.
Load parses container configuration from configuration provider, such as a toml file, then use the configuration to construct a component container.
WithContextTimeout 设置 context 超时时间.
WithEmbedFs 设置embed fs.
WithHost 设置host.
WithLogger 设置 logger.
WithNetwork 设置network.
WithPort 设置port.
WithRecoveryFunc 设置 recovery func.
WithSentinelBlockFallback 限流后的返回数据.
WithSentinelResourceExtractor 资源命名方式.
WithServerReadHeaderTimeout 设置超时时间.
WithServerReadTimeout 设置超时时间.
WithServerWriteTimeout 设置超时时间.
WithTLSSessionCache TLS Session 缓存.
WithTrustedPlatform 信任的Header头,获取客户端IP地址.

# Constants

HeaderAcceptEncoding ...
HeaderContentType ...
HeaderGRPCPROXYError ...
MIMEApplicationJSON ...
MIMEApplicationJSONCharsetUTF8 ...
MIMEApplicationProtobuf ...
PackageName 包名.

# Structs

Component ...
Config HTTP config.
Container defines a component instance.
EmbedWrapper 嵌入普通的静态资源的wrapper.
WebSocket ..
WebSocketConn ...

# Type aliases

Option overrides a Container's default configuration.
WebSocketFunc ..
WebSocketOption ..