server

package
v0.0.0-...-378a548 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const PER_COMMIT_LIMIT = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPC

type GRPC struct {
	EtcdClient *clientv3.Client
	Host       string
	Port       int
	AppName    string

	pb.UnimplementedStorageServer
	// contains filtered or unexported fields
}

func (*GRPC) GetQuoteLatest

func (g *GRPC) GetQuoteLatest(req *pb.QuoteRequest, resp pb.Storage_GetQuoteLatestServer) error

func (*GRPC) GetStockFull

func (g *GRPC) GetStockFull(_ *emptypb.Empty, gs pb.Storage_GetStockFullServer) error

func (*GRPC) PushMetadata

func (g *GRPC) PushMetadata(ps pb.Storage_PushMetadataServer) error

func (*GRPC) Startup

func (g *GRPC) Startup() error

func (*GRPC) Stop

func (g *GRPC) Stop() error

Jump to

Keyboard shortcuts

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