license

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (*core.License, error)

Load loads the license from file.

func NewService

func NewService(
	users core.UserStore,
	repos core.RepositoryStore,
	builds core.BuildStore,
	license *core.License,
) core.LicenseService

NewService returns a new License service.

func Trial

func Trial(provider string) *core.License

Trial returns a default license with trial terms based on the source code management system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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