GRoute 1.0.6

GRoute 1.0.6

测试已测试
语言语言 SwiftSwift
许可证 MIT
发布最后发布2017年9月
SwiftSwift 版本3.0
SPM支持 SPM

weibo 维护。



GRoute 1.0.6

  • weibo

GRoute

服务器配置路由平台

功能列表

  • 服务端能够灵活地配置各个参数
  • 服务端能根据客户端请求属性返回对应的 JSON、支持条件的配置
  • 服务器能够定时检测服务可用性,做出预警(可选)
  • SDK 可配置常规基本参数:版本,平台…
  • SDK 提供给 APP 方便地查询 JSON 数据的接口
  • SDK 支持缓存设置
  • SDK 支持多源配置,保证配置服务器的高可用性

配置 JSON

{
    "code": 200,
    "msg": "success",
    "base_url": ["http://www.baidu.com","http://www.163.com","http://www.sina.com"]
}

##接口

##GET

url=域名/groute/v1/config?app_id=xx&timestamp=xx&sign=xxx

Sign(小写)

sign = sha1(sercet + app_id + timestamp)

密钥+app_id+时间戳

##注意事项

timestamp:时间戳误差在5分钟之内。超出会返回错误

用法

Android: 详情

iOS: 详情

许可证

Copyright (C) GRoute Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://apache.ac.cn/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.