config

package module
v0.0.0-...-2a80f4f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: MIT Imports: 1 Imported by: 2

README

config

Configuration package for Gerschkin client/server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadClient

func ReadClient(path string, config *Client) error

func ReadServer

func ReadServer(path string, config *Server) error

Types

type Client

type Client struct {
	RPC RPC
}

type RPC

type RPC struct {
	Host string
	Port int
}

type Server

type Server struct {
	RPC RPC
	Web Web
}

type Web

type Web struct {
	Host    string
	Port    int
	Enabled bool
}

Jump to

Keyboard shortcuts

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