Documentation ¶
Index ¶
- Constants
- type User
- func (s User) Folders() (capnp.TextList, error)
- func (s User) HasFolders() bool
- func (s User) HasName() bool
- func (s User) HasPasswordHash() bool
- func (s User) HasRights() bool
- func (s User) HasSalt() bool
- func (s User) Name() (string, error)
- func (s User) NameBytes() ([]byte, error)
- func (s User) NewFolders(n int32) (capnp.TextList, error)
- func (s User) NewRights(n int32) (capnp.TextList, error)
- func (s User) PasswordHash() (string, error)
- func (s User) PasswordHashBytes() ([]byte, error)
- func (s User) Rights() (capnp.TextList, error)
- func (s User) Salt() (string, error)
- func (s User) SaltBytes() ([]byte, error)
- func (s User) SetFolders(v capnp.TextList) error
- func (s User) SetName(v string) error
- func (s User) SetPasswordHash(v string) error
- func (s User) SetRights(v capnp.TextList) error
- func (s User) SetSalt(v string) error
- func (s User) String() string
- type User_List
- type User_Promise
Constants ¶
View Source
const User_TypeID = 0x861de4463c5a4a22
User_TypeID is the unique identifier for the type User.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
func (User) HasFolders ¶
func (User) HasPasswordHash ¶
func (User) NewFolders ¶
NewFolders sets the folders field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (User) NewRights ¶
NewRights sets the rights field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (User) PasswordHash ¶
func (User) PasswordHashBytes ¶
func (User) SetPasswordHash ¶
type User_List ¶
User_List is a list of User.
func NewUser_List ¶
NewUser creates a new list of User.
type User_Promise ¶
User_Promise is a wrapper for a User promised by a client call.
func (User_Promise) Struct ¶
func (p User_Promise) Struct() (User, error)
Click to show internal directories.
Click to hide internal directories.