server

package
v1.20.17 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountStorage added in v1.20.13

type CountStorage interface {
	Store(*_types.Count) error
}

type LogServer added in v1.20.13

type LogServer struct {
	// contains filtered or unexported fields
}

func NewLogServer added in v1.20.13

func NewLogServer(
	httpAddr string,
	udpAddr string,
	grpcAddr string,
	redisAddr string,
	jwtSecretFunc func() string,
	logStorage LogStorage,
	countStorage CountStorage,
	repos *repo.Repos,
) (*LogServer, error)

func (*LogServer) Run added in v1.20.13

func (srv *LogServer) Run()

func (*LogServer) Stop added in v1.20.13

func (srv *LogServer) Stop()

type LogStorage added in v1.20.13

type LogStorage interface {
	Store(*_types.Log) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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