ssogrpcclient

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterceptorLogger

func InterceptorLogger(logger *slog.Logger) grpclogging.Logger

InterceptorLogger adapts slog logger to interceptor logger. This code is simple enough to be copied and not imported.

Types

type Client

type Client struct {
	Auth  sso.AuthServiceClient
	Users sso.UsersServiceClient
}

func New

func New(
	host string,
	port int,
	retriesCount int,
	retriesTimeout time.Duration,
	logger *slog.Logger,
) (*Client, error)

Jump to

Keyboard shortcuts

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