Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { bun.BaseModel `bun:"blocks"` ID int64 `bun:"id,pk,notnull,autoincrement"` Hash string `bun:"hash,type:text"` Timestamp time.Time `bun:"timestamp,pk,notnull"` Level int64 `bun:"level"` ProtocolID int64 `bun:"protocol_id,type:SMALLINT"` Protocol protocol.Protocol `bun:",rel:belongs-to"` }
Block -
Click to show internal directories.
Click to hide internal directories.