client

package
v0.0.0-...-a7a9960 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Id       int
	Name     types.Name
	Birthday types.Date
	Weight   float64
	// contains filtered or unexported fields
}

type Service

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

func NewService

func NewService(sqler db.SQLer) Service

func (Service) FindAll

func (s Service) FindAll() ([]Client, error)

func (Service) FindById

func (s Service) FindById(id int) (Client, error)

func (Service) Save

func (s Service) Save(ip net.IP, agent int, c *Client) error

Jump to

Keyboard shortcuts

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