Versions in this module Expand all Collapse all v2 v2.0.1 Jun 30, 2026 Changes in this version + var File_pagination_proto protoreflect.FileDescriptor + var File_registry_proto protoreflect.FileDescriptor + var File_tracing_proto protoreflect.FileDescriptor + type Pagination struct + Current int32 + PageSize int32 + RawTotal *int64 + Total int32 + func PageWrap(p *Pagination) *Pagination + func (*Pagination) Descriptor() ([]byte, []int) + func (*Pagination) ProtoMessage() + func (p *Pagination) Count() *int64 + func (p *Pagination) Limit() int + func (p *Pagination) Offset() int + func (p *Pagination) Paginate() func(db *gorm.DB) *gorm.DB + func (p *Pagination) Resp() *Pagination + func (x *Pagination) GetCurrent() int32 + func (x *Pagination) GetPageSize() int32 + func (x *Pagination) GetRawTotal() int64 + func (x *Pagination) GetTotal() int32 + func (x *Pagination) ProtoReflect() protoreflect.Message + func (x *Pagination) Reset() + func (x *Pagination) String() string + type Registry struct + Enabled bool + Endpoints []string + Namespace string + OnlyDiscovery bool + func (*Registry) Descriptor() ([]byte, []int) + func (*Registry) ProtoMessage() + func (x *Registry) GetEnabled() bool + func (x *Registry) GetEndpoints() []string + func (x *Registry) GetNamespace() string + func (x *Registry) GetOnlyDiscovery() bool + func (x *Registry) ProtoReflect() protoreflect.Message + func (x *Registry) Reset() + func (x *Registry) String() string + type Tracing struct + CustomName string + Endpoint string + func (*Tracing) Descriptor() ([]byte, []int) + func (*Tracing) ProtoMessage() + func (x *Tracing) GetCustomName() string + func (x *Tracing) GetEndpoint() string + func (x *Tracing) ProtoReflect() protoreflect.Message + func (x *Tracing) Reset() + func (x *Tracing) String() string Other modules containing this package github.com/omalloc/contrib