service

package
v0.0.0-...-a686cab Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 7 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 {
	grpc.Container
	// contains filtered or unexported fields
}

func New

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

func (*Service) Dispose

func (s *Service) Dispose()

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop()

type Setter

type Setter func(*Service)

func WithGrpcConn

func WithGrpcConn(g service.GrpcConn) Setter

func WithOption

func WithOption(o controller.Option) Setter

Jump to

Keyboard shortcuts

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