Documentation ¶
Index ¶
- Variables
- func GetApp() gof.App
- func NewEtcdStorage(config clientv3.Config) (storage.Interface, error)
- type EtcdStorage
- func (e EtcdStorage) Delete(key string)
- func (e EtcdStorage) DeleteWith(prefix string) (int, error)
- func (e EtcdStorage) Driver() string
- func (e EtcdStorage) Exists(key string) (exists bool)
- func (e EtcdStorage) Get(key string, dst interface{}) error
- func (e EtcdStorage) GetBool(key string) (bool, error)
- func (e EtcdStorage) GetBytes(key string) ([]byte, error)
- func (e EtcdStorage) GetFloat64(key string) (float64, error)
- func (e EtcdStorage) GetInt(key string) (int, error)
- func (e EtcdStorage) GetInt64(key string) (int64, error)
- func (e EtcdStorage) GetRaw(key string) (interface{}, error)
- func (e EtcdStorage) GetString(key string) (string, error)
- func (e EtcdStorage) RWJson(key string, dst interface{}, src func() interface{}, second int64) error
- func (e EtcdStorage) Set(key string, v interface{}) error
- func (e EtcdStorage) SetExpire(key string, v interface{}, seconds int64) error
- func (e EtcdStorage) Source() interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugMode = false
todo:....
Functions ¶
Types ¶
type EtcdStorage ¶
type EtcdStorage struct {
// contains filtered or unexported fields
}
func (EtcdStorage) Delete ¶
func (e EtcdStorage) Delete(key string)
func (EtcdStorage) DeleteWith ¶
func (e EtcdStorage) DeleteWith(prefix string) (int, error)
func (EtcdStorage) Driver ¶
func (e EtcdStorage) Driver() string
func (EtcdStorage) Exists ¶
func (e EtcdStorage) Exists(key string) (exists bool)
func (EtcdStorage) Get ¶
func (e EtcdStorage) Get(key string, dst interface{}) error
func (EtcdStorage) GetFloat64 ¶
func (e EtcdStorage) GetFloat64(key string) (float64, error)
func (EtcdStorage) GetRaw ¶
func (e EtcdStorage) GetRaw(key string) (interface{}, error)
func (EtcdStorage) RWJson ¶
func (e EtcdStorage) RWJson(key string, dst interface{}, src func() interface{}, second int64) error
func (EtcdStorage) SetExpire ¶
func (e EtcdStorage) SetExpire(key string, v interface{}, seconds int64) error
func (EtcdStorage) Source ¶
func (e EtcdStorage) Source() interface{}
Directories ¶
Path | Synopsis |
---|---|
* * Copyright 2014 @ 56x.net.
|
* * Copyright 2014 @ 56x.net. |
util
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
rsc
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
rsc/gf256
Package gf256 implements arithmetic over the Galois Field GF(256).
|
Package gf256 implements arithmetic over the Galois Field GF(256). |
rsc/qr
Package qr encodes QR codes.
|
Package qr encodes QR codes. |
rsc/qr/coding
Package coding implements low-level QR coding details.
|
Package coding implements low-level QR coding details. |
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
alipay
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
sms
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
sms/aliyu
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
sms/cl253
* * Copyright 2015 @ 56x.net.
|
* * Copyright 2015 @ 56x.net. |
Click to show internal directories.
Click to hide internal directories.