vimeo

package
v1.42.7 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: OSL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel mech.LogLevel

Functions

func Parse added in v1.40.8

func Parse(id string) (uint64, error)

Types

type Config

type Config struct {
	Request struct {
		Files struct {
			Progressive []struct {
				Height int
				URL    string
			}
		}
	}
	Video struct {
		Duration Duration
		Owner    struct {
			Name string
		}
		Title string
	}
}

func NewConfig

func NewConfig(id uint64) (*Config, error)

type Duration added in v1.38.0

type Duration int64

func (Duration) String added in v1.38.0

func (d Duration) String() string

type Video

type Video struct {
	Title         string
	Upload_Date   string
	Thumbnail_URL string
}

func NewVideo added in v1.26.5

func NewVideo(id uint64) (*Video, error)

Jump to

Keyboard shortcuts

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