service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package service implements the functions, types, and interfaces for the module.

Package service implements the functions, types, and interfaces for the module.

Index

Constants

View Source
const DefaultTimeout = 5 * time.Second

Variables

This section is empty.

Functions

func NewClientTLSConfig

func NewClientTLSConfig(cfg *configv1.TLSConfig, opts ...TLSOption) (*tls.Config, error)

func NewServerTLSConfig

func NewServerTLSConfig(cfg *configv1.TLSConfig, opts ...TLSOption) (*tls.Config, error)

Types

type GRPCClient

type GRPCClient = grpc.ClientConn

type GRPCServer

type GRPCServer = transgrpc.Server

type HTTPClient

type HTTPClient = transhttp.Client

type HTTPServer

type HTTPServer = transhttp.Server

type TLSOption

type TLSOption = func(*tls.Config)

func SkipInsecure

func SkipInsecure(b bool) TLSOption

Directories

Path Synopsis
Package grpc implements the functions, types, and interfaces for the module.
Package grpc implements the functions, types, and interfaces for the module.
Package grpc implements the functions, types, and interfaces for the module.
Package grpc implements the functions, types, and interfaces for the module.
Package selector implements the functions, types, and interfaces for the module.
Package selector implements the functions, types, and interfaces for the module.

Jump to

Keyboard shortcuts

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