package
0.0.0-20250109065143-2c4a1334cb04
Repository: https://github.com/retr0h/osapi.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CreateAndMarshalChangeDNSAction creates a ChangeDNSAction message with the given DNS servers and search domains, wraps it in a Task, and marshals it to protobuf bytes.
MarshalProto is a generic function to marshal any proto.Message.
MarshalTextString is a helper function that formats a proto.Message into a multi-line string.
SafeMarshalTaskToString safely converts the provided proto data into a string representation of taskpb.Task.
UnmarshalProto is a generic function to unmarshal any proto.Message.

# Constants

ConsumerName is the durable name of the NATS JetStream consumer.
StreamName represents the NATS JetStream stream to consume from.
SubjectName represents the NATS JetStream subject within the "TASKS" stream.