server

package
v0.0.0-...-e0aea17 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcLogsServer

type GrpcLogsServer struct {
	grpc_log.UnimplementedGrpcLogServiceServer
	// contains filtered or unexported fields
}

func NewGrpcLogsServer

func NewGrpcLogsServer(service GrpcLogsService) *GrpcLogsServer

func (*GrpcLogsServer) Log

type GrpcLogsService

type GrpcLogsService interface {
	Insert(ctx context.Context, req *grpc_log.LogRequest) error
}

type Server

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

func New

func New(grpcServer grpc_log.GrpcLogServiceServer) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(port int) error

Jump to

Keyboard shortcuts

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