service

package
v0.0.0-...-f65cdbb Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	http.Container
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, ops ...Setter) (*Service, error)

func (*Service) Dispose

func (s *Service) Dispose() error

func (*Service) Start

func (s *Service) Start() error

type Setter

type Setter func(*Service)

func WithGrpcDialer

func WithGrpcDialer(d service.GrpcDialer) Setter

func WithHTTPConn

func WithHTTPConn(h service.HTTPConn) Setter

func WithHTTPListener

func WithHTTPListener(l service.HTTPListener) Setter

Jump to

Keyboard shortcuts

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