grpcserver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() func()

func New

func New(opts ...Option) *grpc.Server

Types

type IdSequenceServer

type IdSequenceServer struct {
}

func NewIdSequenceServer

func NewIdSequenceServer() *IdSequenceServer

func (*IdSequenceServer) Get

func (is *IdSequenceServer) Get(ctx context.Context, req *proto.SendRequest) (
	resp *proto.SendResponse,
	err error)

type Option

type Option func(*options)

func WithLoggingDecider

func WithLoggingDecider(d grpcLogging.Decider) Option

func WithMaxConcurrentStreams

func WithMaxConcurrentStreams(m uint32) Option

Jump to

Keyboard shortcuts

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