cn.cyejing:fast-ngrok-starter

ngrok集成spring-boot,随应用启动快速映射应用端口

License

License

GroupId

GroupId

cn.cyejing
ArtifactId

ArtifactId

fast-ngrok-starter
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

ngrok集成spring-boot,随应用启动快速映射应用端口

Download fast-ngrok-starter

How to add to project

<!-- https://jarcasting.com/artifacts/cn.cyejing/fast-ngrok-starter/ -->
<dependency>
    <groupId>cn.cyejing</groupId>
    <artifactId>fast-ngrok-starter</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/cn.cyejing/fast-ngrok-starter/
implementation 'cn.cyejing:fast-ngrok-starter:1.0.1'
// https://jarcasting.com/artifacts/cn.cyejing/fast-ngrok-starter/
implementation ("cn.cyejing:fast-ngrok-starter:1.0.1")
'cn.cyejing:fast-ngrok-starter:jar:1.0.1'
<dependency org="cn.cyejing" name="fast-ngrok-starter" rev="1.0.1">
  <artifact name="fast-ngrok-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='cn.cyejing', module='fast-ngrok-starter', version='1.0.1')
)
libraryDependencies += "cn.cyejing" % "fast-ngrok-starter" % "1.0.1"
[cn.cyejing/fast-ngrok-starter "1.0.1"]

Dependencies

compile (7)

Group / Artifact Type Version
cn.cyejing : fast-ngrok-core jar 1.0.1
org.springframework.boot : spring-boot-autoconfigure jar 1.5.6.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 1.5.6.RELEASE
ch.qos.logback : logback-classic jar 1.1.11
org.slf4j : jcl-over-slf4j jar 1.7.25
org.slf4j : jul-to-slf4j jar 1.7.25
org.slf4j : log4j-over-slf4j jar 1.7.25

Project Modules

There are no modules declared in this project.

Fast-Ngrok

Java版本Ngrok客户端,集成spring-boot随应用启动快速映射应用端口

使用方法

  1. 添加POM依赖:
<dependency>
    <groupId>cn.cyejing</groupId>
    <artifactId>fast-ngrok-starter</artifactId>
    <version>1.0.1</version>
</dependency>
  1. 启动spring-boot应用可以在日志看到映射的地址.

默认配置

可以不用填写配置启动项目,如果想修改默认配置,有以下配置项:

  1. 简单配置项
ngrok.serevr-address=b.cyejing.cn ngrok的服务地址
ngrok.server-port=4443 ngrok的服务端口
ngrok.subdomain=自定义子域名,不填则是随机
  1. 增强配置项
ngrok.enabled=true 打开ngrok映射
ngrok.hostname=自定义域名,如:yourdomain.com
ngrok.httpAuth=访问授权,如:user:password

ngrok,spring,spring boot,spring-boot,springboot,内网映射,内网穿透,微信开发,接口回调

Versions

Version
1.0.1
1.0.0