flavortown_flags

package
v0.0.0-...-9285232 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package flavortown_flags is a generated protocol buffer package.

It is generated from these files:

flags.proto

It has these top-level messages:

User

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type User

type User struct {
	ScopeA bool `protobuf:"varint,1,opt,name=scopeA,proto3" json:"scopeA,omitempty"`
	ScopeB bool `protobuf:"varint,2,opt,name=scopeB,proto3" json:"scopeB,omitempty"`
	ScopeC bool `protobuf:"varint,3,opt,name=scopeC,proto3" json:"scopeC,omitempty"`
}

func NewPopulatedUser

func NewPopulatedUser(r randyFlags, easy bool) *User

func (*User) ClearFlag

func (this *User) ClearFlag(flag string) error

func (*User) ClearFlags

func (this *User) ClearFlags(flags ...string) []error

func (*User) Descriptor

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

func (*User) Equal

func (this *User) Equal(that interface{}) bool

func (*User) FromUInt64

func (this *User) FromUInt64(b uint64) error

func (*User) HighFlags

func (this *User) HighFlags() []string

func (*User) LowFlags

func (this *User) LowFlags() []string

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) Scan

func (this *User) Scan(i interface{}) error

func (*User) SetFlag

func (this *User) SetFlag(flag string) error

func (*User) SetFlags

func (this *User) SetFlags(flags ...string) []error

func (*User) Size

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

func (*User) String

func (m *User) String() string

func (*User) TestFlag

func (this *User) TestFlag(flag string) bool

func (*User) TestFlags

func (this *User) TestFlags(flags ...string) bool

func (*User) UInt64

func (this *User) UInt64() uint64

func (*User) Unmarshal

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

func (*User) Value

func (this *User) Value() (database_sql_driver.Value, error)

type UserGetter

type UserGetter interface {
	GetUser() *User
}

Jump to

Keyboard shortcuts

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