operations

package
v0.0.0-...-082a6df Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package operations contains an rpc client-server pair for maintenance operations on the user server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpServer

func NewOpServer(db *database.DB, addr string) *rpc.Server

Types

type Client

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

func NewClient

func NewClient(addr string) (*Client, error)

NewClient creates an rpc client for maintenance operations on the user server.

func (*Client) Dump

func (c *Client) Dump() ([]*user.Account, error)

Dump returns a dump of the whole language database.

type Dump

type Dump []*user.Account

type OpRpcServer

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

func (*OpRpcServer) Dump

func (s *OpRpcServer) Dump(nothing bool, d *Dump) error

Directories

Path Synopsis
Package user-dump contains the user-dump executable.
Package user-dump contains the user-dump executable.

Jump to

Keyboard shortcuts

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