env

package
v0.0.0-...-5f77811 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

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) 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