rpc

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 20 Imported by: 1

README

Library Template

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditInterceptor

func AuditInterceptor() grpc.UnaryServerInterceptor

func RecoverPanic added in v0.0.6

func RecoverPanic() grpc.UnaryServerInterceptor

func RequireMetadataPresence added in v0.0.2

func RequireMetadataPresence() grpc.UnaryServerInterceptor

func RequireValidUUID added in v0.0.2

func RequireValidUUID(key string) grpc.UnaryServerInterceptor

func StartTracingRequest added in v0.0.2

func StartTracingRequest() grpc.UnaryServerInterceptor

Types

type RPCClient added in v0.0.2

type RPCClient struct {
	Connection *grpc.ClientConn
	// contains filtered or unexported fields
}

func NewRPCClient added in v0.0.2

func NewRPCClient(url string) *RPCClient

func (*RPCClient) Connect added in v0.0.2

func (c *RPCClient) Connect() error

type Server added in v0.0.2

type Server struct {
	RpcServer *grpc.Server
	// contains filtered or unexported fields
}

func NewRPCServer

func NewRPCServer(config *config.Config) *Server

func (*Server) Start added in v0.0.2

func (s *Server) Start(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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