pkg

package
v0.0.0-...-6e5bb36 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPkg

type IPkg interface {
	// GetToken it returns instance of token.Token that implements token.IToken methods.
	GetToken() token.IToken

	// GetOsignal it returns instance of osignal.Osignal that implements osignal.IOsignal methods.
	GetOsignal() osignal.IOsignal
}

IPkg ...

func New

func New(opts ...Option) IPkg

New it returns instance of Pkg that implements IPkg methods.

type Option

type Option func(p *Pkg)

Option ...

func WithDependency

func WithDependency(config config.IConfig) Option

WithDependency ...

type Pkg

type Pkg struct {
	// contains filtered or unexported fields
}

Pkg ...

func (*Pkg) GetOsignal

func (p *Pkg) GetOsignal() osignal.IOsignal

GetOsignal it returns instance of osignal.Osignal that implements osignal.IOsignal methods.

func (*Pkg) GetToken

func (p *Pkg) GetToken() token.IToken

GetToken it returns instance of token.Token that implements token.IToken methods.

Jump to

Keyboard shortcuts

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