vegamcache: github.com/sch00lb0y/vegamcache Index | Files | Directories

package vegamcache

import "github.com/sch00lb0y/vegamcache"

Index

Package Files

cache.go config.go peer.go util.go vegam.go

func NewCache Uses

func NewCache() *externalCache

func NewVegam Uses

func NewVegam(vc *VegamConfig) (*vegam, error)

type Value Uses

type Value struct {
    Data      interface{}
    LastWrite int64
    Expiry    int64
}

type VegamConfig Uses

type VegamConfig struct {
    Port     int
    Channel  string
    Password string
    NickName string
    Peers    []string
    PeerName string
    Host     string
    Logger   *log.Logger
}

Directories

PathSynopsis
example

Package vegamcache imports 9 packages (graph) and is imported by 1 packages. Updated 2018-04-19. Refresh now. Tools for package owners.