library

package module
v0.0.0-...-afd3805 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Action_name = map[int32]string{
	0: "NONE",
	1: "LEND_REQUEST",
	2: "RETURN_REQUEST",
	3: "MODULE_PREPARE",
	4: "MODULE_SHIPPING",
}
View Source
var Action_value = map[string]int32{
	"NONE":            0,
	"LEND_REQUEST":    1,
	"RETURN_REQUEST":  2,
	"MODULE_PREPARE":  3,
	"MODULE_SHIPPING": 4,
}

Functions

This section is empty.

Types

type Action

type Action int32
const (
	Action_NONE            Action = 0
	Action_LEND_REQUEST    Action = 1
	Action_RETURN_REQUEST  Action = 2
	Action_MODULE_PREPARE  Action = 3
	Action_MODULE_SHIPPING Action = 4
)

func (Action) EnumDescriptor

func (Action) EnumDescriptor() ([]byte, []int)

func (Action) String

func (x Action) String() string

type Book

type Book struct {
	Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Volume               string   `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	Authors              []string `protobuf:"bytes,3,rep,name=authors,proto3" json:"authors,omitempty"`
	Publisher            string   `protobuf:"bytes,4,opt,name=publisher,proto3" json:"publisher,omitempty"`
	Isbn                 string   `protobuf:"bytes,5,opt,name=isbn,proto3" json:"isbn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Book) Descriptor

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

func (*Book) GetAuthors

func (m *Book) GetAuthors() []string

func (*Book) GetIsbn

func (m *Book) GetIsbn() string

func (*Book) GetPublisher

func (m *Book) GetPublisher() string

func (*Book) GetTitle

func (m *Book) GetTitle() string

func (*Book) GetVolume

func (m *Book) GetVolume() string

func (*Book) ProtoMessage

func (*Book) ProtoMessage()

func (*Book) Reset

func (m *Book) Reset()

func (*Book) String

func (m *Book) String() string

func (*Book) XXX_DiscardUnknown

func (m *Book) XXX_DiscardUnknown()

func (*Book) XXX_Marshal

func (m *Book) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Book) XXX_Merge

func (dst *Book) XXX_Merge(src proto.Message)

func (*Book) XXX_Size

func (m *Book) XXX_Size() int

func (*Book) XXX_Unmarshal

func (m *Book) XXX_Unmarshal(b []byte) error

type LibService

type LibService struct {
	Action               Action               `protobuf:"varint,1,opt,name=action,proto3,enum=api.library.Action" json:"action,omitempty"`
	Books                []*Book              `protobuf:"bytes,2,rep,name=books,proto3" json:"books,omitempty"`
	LendDate             *timestamp.Timestamp `protobuf:"bytes,3,opt,name=lend_date,json=lendDate,proto3" json:"lend_date,omitempty"`
	ReturnDate           *timestamp.Timestamp `protobuf:"bytes,4,opt,name=return_date,json=returnDate,proto3" json:"return_date,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*LibService) Descriptor

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

func (*LibService) GetAction

func (m *LibService) GetAction() Action

func (*LibService) GetBooks

func (m *LibService) GetBooks() []*Book

func (*LibService) GetLendDate

func (m *LibService) GetLendDate() *timestamp.Timestamp

func (*LibService) GetReturnDate

func (m *LibService) GetReturnDate() *timestamp.Timestamp

func (*LibService) ProtoMessage

func (*LibService) ProtoMessage()

func (*LibService) Reset

func (m *LibService) Reset()

func (*LibService) String

func (m *LibService) String() string

func (*LibService) XXX_DiscardUnknown

func (m *LibService) XXX_DiscardUnknown()

func (*LibService) XXX_Marshal

func (m *LibService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LibService) XXX_Merge

func (dst *LibService) XXX_Merge(src proto.Message)

func (*LibService) XXX_Size

func (m *LibService) XXX_Size() int

func (*LibService) XXX_Unmarshal

func (m *LibService) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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