env

package
v0.0.0-...-fb60582 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

README

env

This package implements libkbfs.Context in terms of libkb.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

Context is an implementation for libkbfs.Context

func NewContext

func NewContext() *Context

NewContext constructs a context

func (Context) ConfigureSocketInfo

func (c Context) ConfigureSocketInfo() error

ConfigureSocketInfo configures a socket

func (Context) GetDataDir

func (c Context) GetDataDir() string

GetDataDir returns log dir

func (Context) GetLogDir

func (c Context) GetLogDir() string

GetLogDir returns log dir

func (Context) GetRunMode

func (c Context) GetRunMode() libkb.RunMode

GetRunMode returns run mode

func (Context) GetSocket

func (c Context) GetSocket(clearError bool) (net.Conn, rpc.Transporter, bool, error)

GetSocket returns a socket

func (Context) NewRPCLogFactory

func (c Context) NewRPCLogFactory() *libkb.RPCLogFactory

NewRPCLogFactory constructs an RPC logger

Jump to

Keyboard shortcuts

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