dtog

package
v0.0.0-...-c4a77ec Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package dtog is a proxy that provides a memcached network protocol connection to the App Engine memcache_service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSync

func StartSync(ctx netcontext.Context, bindingAddr string) error

StartSync starts a new proxy bridge server and does not return except in the case of an error.

Types

type Proxy

type Proxy struct {
	BindingAddr string
	// contains filtered or unexported fields
}

Proxy is the proxy server running on some host:port Address.

func StartAsync

func StartAsync(ctx netcontext.Context, bindingAddr string) (*Proxy, error)

StartAsync starts a new proxy bridge server in the background. The provided context must remain valid until the Close method is called.

TODO(eobrain) Remove async call and only have blocking call. (Caller can always use "go" to make call async.) See http://go/channelsandcallbacks

func (*Proxy) Close

func (p *Proxy) Close() error

Close shuts down the listener.

Directories

Path Synopsis
Command memcachep runs a memcache d/g proxy bridge for App Engine flexible environment.
Command memcachep runs a memcache d/g proxy bridge for App Engine flexible environment.

Jump to

Keyboard shortcuts

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