server

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	Driver         storage.Driver
	RequestTimeout time.Duration
}

func (*HTTPServer) ListenAndServe

func (srv *HTTPServer) ListenAndServe(ctx context.Context, addr string) error

ListenAndServe redify HTTPServer

type RedisServer

type RedisServer struct {
	Driver         storage.Driver
	RequestTimeout time.Duration
	// contains filtered or unexported fields
}

RedisServer redify implement basic functionality of the redis proxy

func (*RedisServer) ListenAndServe

func (srv *RedisServer) ListenAndServe(ctx context.Context, addr string) error

ListenAndServe redify RedisServer

Jump to

Keyboard shortcuts

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