types

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host interface {
	Scheme() string
	Port() int
	Host() string
}

type HttpHost

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

func NewHttpHost

func NewHttpHost(host string, port int) HttpHost

func (HttpHost) Host

func (h HttpHost) Host() string

func (HttpHost) Port

func (h HttpHost) Port() int

func (HttpHost) Scheme

func (h HttpHost) Scheme() string

type MediaItem

type MediaItem struct {
	Name      string      `json:"name"`
	Extension string      `json:"extenstion"`
	Path      string      `json:"path"`
	Metadata  interface{} `json:"metadata"`
}

Jump to

Keyboard shortcuts

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