server

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-2-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen added in v0.1.12

func Listen(ctx context.Context, addr string, opts ...ListenOpt) (*grpc.Server, net.Listener, error)

Create a new MassTasker GRPC server and not start it yet

func ListenAndServe added in v0.1.12

func ListenAndServe(ctx context.Context, addr string, opts ...ListenOpt) error

Create a new MassTasker GRPC server

func New

func New() *server

func NewWithContext added in v0.1.11

func NewWithContext(ctx context.Context) *server

Types

type ListenOpt added in v0.1.12

type ListenOpt func(*listenOpts)

func WithBootstrapTaskGroup added in v0.1.12

func WithBootstrapTaskGroup(group string) ListenOpt

Jump to

Keyboard shortcuts

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