server

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	cachepb.UnimplementedCacheServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ctx context.Context, cfg *config.Config) (*Server, error)

func (*Server) Clone

func (*Server) Commit

func (*Server) Create

func (*Server) Delete

func (*Server) Discard

func (*Server) Exists

func (*Server) Get

func (*Server) GetChanges

func (*Server) List

func (*Server) Modify

func (s *Server) Modify(stream cachepb.Cache_ModifyServer) error

func (*Server) Prune

func (*Server) Read

func (s *Server) Read(req *cachepb.ReadRequest, stream cachepb.Cache_ReadServer) error

func (*Server) ServeHTTP

func (s *Server) ServeHTTP()

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop()

func (*Server) Watch

func (s *Server) Watch(req *cachepb.WatchRequest, stream cachepb.Cache_WatchServer) error

Jump to

Keyboard shortcuts

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