Documentation ¶
Index ¶
- Constants
- Variables
- func NewMemoryNamespaceManager(nn ...*namespace.Namespace) *memoryNamespaceManager
- type NamespaceWatcher
- type Provider
- func (k *Provider) CORS() (cors.Options, bool)
- func (k *Provider) DSN() string
- func (k *Provider) NamespaceManager() (namespace.Manager, error)
- func (k *Provider) ReadAPIListenOn() string
- func (k *Provider) Set(key string, v interface{}) error
- func (k *Provider) TracingConfig() *tracing.Config
- func (k *Provider) TracingProvider() string
- func (k *Provider) TracingServiceName() string
- func (k *Provider) WriteAPIListenOn() string
Constants ¶
View Source
const ( KeyDSN = "dsn" KeyReadAPIHost = "serve.read.host" KeyReadAPIPort = "serve.read.port" KeyWriteAPIHost = "serve.write.host" KeyWriteAPIPort = "serve.write.port" KeyNamespaces = "namespaces" DSNMemory = "sqlite://file::memory:?_fk=true&cache=shared" )
Variables ¶
View Source
var ( Version = "master" Date = "undefined" Commit = "undefined" )
View Source
var Schema []byte
Functions ¶
Types ¶
type NamespaceWatcher ¶
func NewNamespaceWatcher ¶
func (*NamespaceWatcher) GetNamespace ¶
func (*NamespaceWatcher) Namespaces ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) NamespaceManager ¶
func (*Provider) ReadAPIListenOn ¶
func (*Provider) TracingConfig ¶
func (*Provider) TracingProvider ¶
func (*Provider) TracingServiceName ¶
func (*Provider) WriteAPIListenOn ¶
Click to show internal directories.
Click to hide internal directories.