client

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2017 License: BSD-3-Clause Imports: 11 Imported by: 6

Documentation

Overview

Package client is a generated protocol buffer package.

It is generated from these files:

client/client.proto

It has these top-level messages:

Client

Index

Constants

View Source
const (
	DEBUG   string = "DEBUG"
	INFO    string = "INFO"
	WARNING string = "WARN"
	ERROR   string = "ERROR"
	FATAL   string = "FATAL"
)

Log levels

Variables

This section is empty.

Functions

func Routes

func Routes(router *httprouter.Router, ds *store.InMemory)

Routes defines the Client API routes

Types

type Client

type Client struct {
	FirstName string `protobuf:"bytes,1,opt,name=first_name" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,2,opt,name=last_name" json:"last_name,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Uid       string `protobuf:"bytes,4,opt,name=uid,json=id" json:"uid,omitempty"`
	Sid       string `protobuf:"bytes,5,opt,name=sid" json:"sid,omitempty"`
}

func Create

func Create(sid string) *Client

Create builds a new `Client`

func (*Client) Descriptor

func (*Client) Descriptor() ([]byte, []int)

func (*Client) GetFirstName

func (m *Client) GetFirstName() string

func (*Client) GetFullName

func (c *Client) GetFullName() string

func (*Client) GetLastName

func (m *Client) GetLastName() string

func (*Client) GetName

func (m *Client) GetName() string

func (*Client) GetSid

func (m *Client) GetSid() string

func (*Client) GetUid

func (m *Client) GetUid() string

func (Client) MarshalJSON

func (c Client) MarshalJSON() ([]byte, error)

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) Reset

func (m *Client) Reset()

func (Client) StoreKey

func (c Client) StoreKey() string

func (*Client) String

func (m *Client) String() string

func (*Client) UnmarshalJSON

func (c *Client) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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