Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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