infos

package
v0.0.0-...-a532a67 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoFactory

func InfoFactory(dp app.DependencyProvider) (ins interface{}, error error)

InfoFactory create an environment variables info instance

func NewInfo

func NewInfo(params Params) commservices.Info

func NewLicense

func NewLicense(params LicenseParams) commservices.InfoLicense

func NewPerson

func NewPerson(params PersonParams) commservices.InfoPerson

Types

type Info

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

Info SandboxesInfo is a tool to menage sandboxes.

func (*Info) Authors

func (info *Info) Authors() []commservices.InfoPerson

Authors return application authors list

func (*Info) Description

func (info *Info) Description() string

Description return application description

func (*Info) License

func (info *Info) License() commservices.InfoLicense

License return application license

func (*Info) PoweredBy

func (info *Info) PoweredBy() string

License return application license

type License

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

License SandboxesLicense is a tool to menage sandboxes.

func (*License) Company

func (license *License) Company() string

Company return licence company

func (*License) End

func (license *License) End() time.Time

End return expired license time

func (*License) Start

func (license *License) Start() time.Time

Start return begin license time

func (*License) Type

func (license *License) Type() string

Type return begin license time

func (*License) URL

func (license *License) URL() string

URL return url to license agreement

type LicenseParams

type LicenseParams struct {
	Company string
	End     time.Time
	Start   time.Time
	Type    string
	URL     string
}

type Params

type Params struct {
	Authors     []commservices.InfoPerson
	Description string
	License     commservices.InfoLicense
	PoweredBy   string
}

type Person

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

Person SandboxesPerson is a tool to menage sandboxes.

func (*Person) Email

func (person *Person) Email() string

Email return person email

func (*Person) Name

func (person *Person) Name() string

Name return firsname and lastname or/and nickname

type PersonParams

type PersonParams struct {
	Name  string
	Email string
}

Jump to

Keyboard shortcuts

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