service

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidLicense = errors.New("invalid license")

Functions

func Module

func Module(c *di.Container)

Types

type Service

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

func New

func New(
	repo db.Repository,
	organizationService *service_organization.Service,
) *Service

func (*Service) Get

Get returns the global installation object.

func (*Service) HasOrganization

func (svc *Service) HasOrganization(ctx context.Context) (bool, error)

func (*Service) UpdateLicense

func (svc *Service) UpdateLicense(ctx context.Context, license *licenses.License) error

Jump to

Keyboard shortcuts

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