liquid

package
v0.0.0-...-dae269f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package liquid provides Liquid

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Liquid

type Liquid struct {
	*malt.Malt
	models.Instance

	DrupalUsername string
	DrupalPassword string
}

Liquid is the core of a WissKI Instance and used in every ingredient.

func (*Liquid) Domain

func (liquid *Liquid) Domain() string

Domain returns the full domain name of this WissKI

func (*Liquid) HostRule

func (liquid *Liquid) HostRule() string

HostRule returns a host rule for this wisski

func (*Liquid) Hostname

func (liquid *Liquid) Hostname() string

func (*Liquid) Snapshots

func (liquid *Liquid) Snapshots(ctx context.Context) (snapshots []models.Export, err error)

Snapshots returns the list of snapshots of this WissKI NOTE(twiesing): Not entirely sure where this should go. It's not that this is

func (*Liquid) URL

func (liquid *Liquid) URL() *url.URL

URL returns the public URL of this instance

Jump to

Keyboard shortcuts

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