amber-login

command module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 25 Imported by: 0

README

amber-login

Build Status codecov GitHub release (latest by date) MIT Licence GitHub code size

统一登录.

配置文件

  1. appConfig.toml
Port = 11325
ContextPath = ""
CookieDomain = "r.cn"   # 写入cookie的domain
CookieExpiredHours = 6  # cookie有效期(小时)
DevMode = false
  1. logback.xml
<logging>
    <filter enabled="true">
        <tag>file</tag>
        <type>file</type>
        <level>INFO</level>
        <property name="filename">amber-login.log</property>
        <property name="format">[%D %T] [%L] (%S) %M</property>
        <property name="rotate">false</property>
        <property name="maxsize">0M</property>
        <property name="maxlines">0K</property>
        <property name="daily">false</property>
    </filter>
</logging>

部署执行

  1. 下载最新的可执行文件压缩包并解压

    下载地址: amber-login release

$ tar -xvJf amber-login-[version].[arch].[os].tar.xz
  1. 新建/编辑配置文件, 启动运行
$ nohup ./amber-login-[version].[arch].[os].bin &

后台入口

/admin/index

默认管理员:

admin/Admin18&$ manage/Manage12#$

统一登录入口

/?appId={appId}&redirectUrl={redirectUrl}

Golang Kits

amber

Java Kits

amber-java-kits.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package statiq contains static assets.
Package statiq contains static assets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL