service

package
v0.0.0-...-ca5ca7b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPC

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

func NewGRPC

func NewGRPC(repo Repository) *GRPC

func (*GRPC) Insert

func (s *GRPC) Insert(ctx context.Context, req *logger.LogRequest) error

type Repository

type Repository interface {
	Insert(ctx context.Context, item logger.LogItem) error
}

Jump to

Keyboard shortcuts

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