proxy

package
v0.0.0-...-7dcde51 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Example (One)
var netdisk NetDisk = NewNetDiskProxy()
fmt.Println(netdisk.Get("Joe", "intro.txt"))
fmt.Println(netdisk.Get("", "intro.txt"))
Output:

data of intro.txt

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetDisk

type NetDisk interface {
	Get(user, filename string) string
}

type NetDiskImpl

type NetDiskImpl struct{}

func (NetDiskImpl) Get

func (NetDiskImpl) Get(user, filename string) string

type NetDiskProxy

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

func NewNetDiskProxy

func NewNetDiskProxy() *NetDiskProxy

func (NetDiskProxy) Get

func (p NetDiskProxy) Get(user, filename string) string

Jump to

Keyboard shortcuts

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