portal

package
v0.0.0-...-d2439cc Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Portal

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

func NewPortal

func NewPortal(
	cfg *config.Secret,
	logger *logger.Logger,
	subscription *entity.Subscription,
	service *entity.Service,
	pin int,
	status string,
) *Portal

func (*Portal) Callback

func (p *Portal) Callback() string

func (*Portal) Renewal

func (p *Portal) Renewal() ([]byte, error)

func (*Portal) Subscription

func (p *Portal) Subscription() ([]byte, error)

func (*Portal) Unsubscription

func (p *Portal) Unsubscription() ([]byte, error)

Jump to

Keyboard shortcuts

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