ServeErr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
}

type FOO4DB

type FOO4DB struct {
	Name string
}

type FOO5DB

type FOO5DB struct {
	Name string
}

type S1ServeErr

type S1ServeErr struct {
}

func (*S1ServeErr) AddService

func (s *S1ServeErr) AddService(svc *S4ServeError) error

func (*S1ServeErr) Init

func (s *S1ServeErr) Init(s2 *S2, db *DB) error

No deps

func (*S1ServeErr) Serve

func (s *S1ServeErr) Serve() chan error

func (*S1ServeErr) Stop

func (s *S1ServeErr) Stop() error

type S2

type S2 struct {
}

func (*S2) CreateDB

func (s2 *S2) CreateDB() (*DB, error)

func (*S2) Init

func (s2 *S2) Init(db *FOO4DB) error

func (*S2) Provides

func (s2 *S2) Provides() []interface{}

func (*S2) Serve

func (s2 *S2) Serve() chan error

func (*S2) Stop

func (s2 *S2) Stop() error

type S3ServeError

type S3ServeError struct {
}

func (*S3ServeError) Collects

func (s3 *S3ServeError) Collects() []interface{}

func (*S3ServeError) Init

func (s3 *S3ServeError) Init(svc *S2) error

Collects on S3

func (*S3ServeError) Serve

func (s3 *S3ServeError) Serve() chan error

func (*S3ServeError) SomeOtherDep

func (s3 *S3ServeError) SomeOtherDep(svc *S4ServeError, svc2 *S2) error

func (*S3ServeError) Stop

func (s3 *S3ServeError) Stop() error

type S4ServeError

type S4ServeError struct {
}

func (*S4ServeError) CreateAnotherDB

func (s *S4ServeError) CreateAnotherDB() (*FOO4DB, error)

this is the same type but different packages

func (*S4ServeError) Init

func (s *S4ServeError) Init(s5 *S5) error

No deps

func (*S4ServeError) Provides

func (s *S4ServeError) Provides() []interface{}

But provide some

func (*S4ServeError) Serve

func (s *S4ServeError) Serve() chan error

func (*S4ServeError) Stop

func (s *S4ServeError) Stop() error

type S5

type S5 struct {
}

func (*S5) Init

func (s *S5) Init() error

No deps

func (*S5) Serve

func (s *S5) Serve() chan error

func (*S5) Stop

func (s *S5) Stop() error

Jump to

Keyboard shortcuts

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