diff --git a/README.md b/README.md index 218d11e..67bc8ee 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ services: - "2333:2333" restart: unless-stopped volumes: - - ./config/config.yml:/kk_etcd_go/config/config.yml + - ./config/config.yml:/kk_etcd_go/internal/config/config.yml ``` # SDK @@ -84,7 +84,7 @@ we only provide `go` sdk now ```shell go get github.com/cruvie/kk_etcd_go@latest ``` -init and get config from etcd +## init and get config from etcd `my_config` in etcd (yaml format) ```yaml @@ -134,6 +134,14 @@ func InitEtcd() { kk_etcd.GetConfig(configKey, &GlobalConfig) } ``` +## Register Http/gRPC Service +``` +refer to https://github.com/cruvie/kk_etcd_go/blob/master/kk_etcd/kk_etcd_test.go +``` +## GetServiceList +``` +refer to https://github.com/cruvie/kk_etcd_go/blob/master/kk_etcd/kk_etcd_test.go +``` # Contribute diff --git a/pubspec.yaml b/pubspec.yaml index 7c0c60f..0697dd9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: Etcd UI # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 1.3.0 +version: 1.3.1 environment: sdk: '>=3.1.0'