没有合适的资源?快使用搜索试试~ 我知道了~
interceptor:库可轻松拦截Elixir函数调用
共67个文件
ex:30个
exs:27个
png:2个
需积分: 12 0 下载量 16 浏览量
2021-03-19
20:57:26
上传
评论
收藏 96KB ZIP 举报
温馨提示
Interceptor库允许您通过配置拦截函数并使用Interceptor.intercept/1宏或@intercept true批注来拦截函数调用。 安装 可以通过将interceptor添加到mix.exs中的依赖项列表中来安装该软件包: def deps do [ { :interceptor , " ~> 0.5.3 " } ] end 入门 使用Interceptor.Configurator模块创建一个模块: defmodule Interception . Config do use Interceptor . Configurator intercept " Intercepted.abc/1 " , before: " MyInterceptor.intercept_before/1 " , after: " MyInterc
资源推荐
资源详情
资源评论
收起资源包目录
interceptor-master.zip (67个子文件)
interceptor-master
mix.lock 3KB
.gitignore 593B
mix.exs 1KB
assets
images
interceptor_logo_small.png 10KB
interceptor_logo.svg 7KB
interceptor_logo_with_title.png 21KB
.formatter.exs 97B
LICENSE 1KB
CHANGELOG.md 4KB
.github
workflows
every_branch.yml 570B
main.yml 593B
README.md 5KB
config
test.exs 144B
config.exs 125B
dev.exs 544B
lib
debug.ex 480B
configuration
configurator.ex 2KB
configuration.ex 3KB
validator.ex 1KB
searcher.ex 695B
annotated_interceptor.ex 7KB
interceptor.ex 22KB
function_arguments.ex 5KB
utils.ex 3KB
test
function_arguments_test.exs 12KB
intercepted_modules
wrong_configs_for_config_validator.ex 2KB
annotated
annotated_intercepted_on_after.ex 2KB
annotated_intercepted_edge_cases.ex 1KB
annotated_intercepted_on_error.ex 1KB
annotated_intercepted_by_wrapper.ex 1KB
annotated_intercepted_on_after_own_configuration.ex 2KB
annotated_intercepted_on_success.ex 2KB
annotated_intercepted_wildcarded_mfa_callbacks.ex 2KB
annotated_intercepted_on_before.ex 1KB
intercept_config.ex 9KB
streamlined_intercept_config.ex 3KB
do_block
intercepted_edge_cases.ex 812B
intercepted_private_on_success_on_error_own_configuration.ex 1KB
intercepted_on_success.ex 2KB
intercepted_on_after_own_configuration.ex 2KB
intercepted_on_after.ex 1KB
intercepted_on_before.ex 1KB
intercepted_by_wrapper.ex 1KB
intercepted_on_error.ex 1005B
intercepted_wildcarded_mfa_callbacks.ex 1KB
utils_test.exs 3KB
support
mocks.ex 93B
annotated
annotated_interceptor_on_after_own_configuration_test.exs 3KB
annotated_interceptor_edge_cases_test.exs 3KB
annotated_interceptor_on_before_test.exs 3KB
annotated_interceptor_on_after_test.exs 6KB
annotated_interceptor_wildcarded_mfa_test.exs 4KB
annotated_interceptor_wrapper_test.exs 4KB
annotated_interceptor_on_success_test.exs 8KB
annotated_interceptor_on_error_test.exs 4KB
test_helper.exs 15B
configuration
configurator_test.exs 4KB
validator_test.exs 2KB
do_block
interceptor_on_success_test.exs 8KB
interceptor_edge_cases_test.exs 2KB
interceptor_wrapper_test.exs 3KB
interceptor_wildcarded_mfa_test.exs 4KB
interceptor_private_own_configuration_on_success_error_test.exs 2KB
interceptor_on_after_test.exs 6KB
interceptor_on_error_test.exs 4KB
interceptor_on_before_test.exs 3KB
interceptor_on_after_own_configuration_test.exs 3KB
共 67 条
- 1
资源评论
不吃酸菜的小贱人
- 粉丝: 44
- 资源: 4667
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Javascript的影视动画设计源码 - cad
- 基于Java和深度学习的瓦斯浓度预测系统后端设计源码 - 瓦斯浓度预测后端
- Screenshot_20240528_103010.jpg
- 基于Python的新能源承载力计算及界面设计源码 - HAINING-DG
- 基于Java的本科探索学习项目设计源码 - 本科探索
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功