# Functions
No description provided by the author
Destroy 当应用关闭是优先调用此方法,这样可以使容器在server上立刻下线, 这个方法主要是影响的动态路由,如果立刻移除应用的话,可以立刻修改此容器 对应的动态路由规则,以便最小量的使数据路由到不存在的IP上.
Entry 基础API.
No description provided by the author
InitDefault 初始化semiater的环境变量,包含: 1.
InitWithConfig 使用配置初始化Seamiter.
InitWithConfigFile 根据给定的YAML文件路径初始化seamiter.
InitWithConfigFile 根据给定的YAML文件路径和Redis配置Func初始化seamiter.
InitWithParser 使用给定的解析方法反序列化configBytes并返回config.Entity.
TraceError records the provided error to the given seaEntry.
WithArgs sets the resource entry with the given additional parameters.
WithAttachment set the resource entry with the given k-v pair.
WithAttachments set the resource entry with the given k-v pairs.
WithBatchCount sets the resource entry with the given batch count (by default 1).
WithBlockHandlerEntry 通用entry入口 @param resource 资源名称,可以是接口名称或者自定义的代码段定义 @param opts 附加参数,比如请求头信息、资源类型等.
WithEntry 通用entry入口 @param resource 资源名称,可以是接口名称或者自定义的代码段定义 @param opts 附加参数,比如请求头信息、资源类型等.
WithFlag sets the resource entry with the given additional flag.
WithFromService 设置来源服务.
WithHeaders sets the resource entry with the given headers.
WithMetaData sets the resource entry with the given context key value.
WithResourceType sets the resource entry with the given resource type.
WithRsps sets the resource entry with the given additional rsps.
WithSlotChain sets the slot chain.
WithTrafficType sets the resource entry with the given traffic type.
# Structs
EntryOptions represents the options of a sea resource entry.
# Type aliases
No description provided by the author
No description provided by the author