server

package
v0.0.0-...-eff0e24 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Copyright © 2023 Ajith

Copyright © 2023 Ajith

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() net.IP

func Init

func Init(cmd *cobra.Command, args []string)

Types

type Content

type Content struct {
	Path         string
	PreviousPath string
	Files        []Property
	Directories  []Property
}

func GetContents

func GetContents(path string, relativePath string, searchTerm string) (*Content, error)

func NewContent

func NewContent() *Content

type Property

type Property struct {
	Name string
	Path string
	Size string
}

func NewProperty

func NewProperty() *Property

Jump to

Keyboard shortcuts

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