MCPcopy Index your code
hub / github.com/OpenPrinting/goipp

github.com/OpenPrinting/goipp @v1.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.0 ↗ · + Follow
259 symbols 787 edges 23 files 233 documented · 90%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

goipp

godoc.org GitHub Go Report Card

The goipp library is fairly complete implementation of IPP core protocol in pure Go. Essentially, it is IPP messages parser/composer. Transport is not implemented here, because Go standard library has an excellent built-in HTTP client, and it doesn't make a lot of sense to wrap it here.

High-level requests, like "print a file" are also not implemented, only the low-level stuff.

All documentation is on godoc.org -- follow the link above. Pull requests are welcomed, assuming they don't break existing API.

Extension points exported contracts — how you extend this code

Value (Interface)
Value represents an attribute value IPP uses typed values, and type of each value is unambiguously defined by the attri [6 …
value.go
IntegerOrRange (Interface)
IntegerOrRange is a Value of type Integer or Range [1 implementers]
value.go

Core symbols most depended-on inside this repo

MakeAttr
called by 103
attr.go
MakeAttribute
called by 73
attr.go
Add
called by 57
group.go
DecodeBytes
called by 29
message.go
String
called by 22
value.go
Equal
called by 18
group.go
Add
called by 15
value.go
NewRequest
called by 15
message.go

Shape

Method 151
Function 68
Struct 23
TypeAlias 15
Interface 2

Languages

Go100%

Modules by API surface

value.go82 symbols
encdec_test.go24 symbols
message.go21 symbols
formatter.go20 symbols
decoder.go14 symbols
attr.go14 symbols
value_test.go12 symbols
group.go12 symbols
encoder.go11 symbols
message_test.go8 symbols
attr_test.go8 symbols
group_test.go7 symbols

For agents

$ claude mcp add goipp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact