models

package
v0.0.0-...-68bdf18 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(serviceKey string, client *client.SyncClient) error

func GetAdminClient

func GetAdminClient() (*client.SyncClient, error)

func Update

func Update(serviceKey string, version uint, confs map[string]string, client *client.SyncClient) error

Types

type ServiceConfig

type ServiceConfig struct {
	ServiceKey string
	Version    uint
	Confs      map[string]string
}

func Get

func Get(serviceKey string, cli *client.SyncClient) (*ServiceConfig, error)

Jump to

Keyboard shortcuts

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