authpb

package
v0.16.3-0...-7d6e63f Latest Latest
Warning

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

Go to latest
Published: May 3, 2016 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package authpb is a generated protocol buffer package.

It is generated from these files:

auth.proto

It has these top-level messages:

User
Role

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAuth = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuth   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Role

type Role struct {
	Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

Role is a single entry in the bucket authRoles

func (*Role) Marshal

func (m *Role) Marshal() (data []byte, err error)

func (*Role) MarshalTo

func (m *Role) MarshalTo(data []byte) (int, error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) Size

func (m *Role) Size() (n int)

func (*Role) String

func (m *Role) String() string

func (*Role) Unmarshal

func (m *Role) Unmarshal(data []byte) error

type User

type User struct {
	Name      []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password  []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Tombstone int64  `protobuf:"varint,3,opt,name=tombstone,proto3" json:"tombstone,omitempty"`
}

User is a single entry in the bucket authUsers

func (*User) Marshal

func (m *User) Marshal() (data []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(data []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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