api.go 171 B

1234567891011
  1. package borealis
  2. import "github.com/mr-tron/base58"
  3. type APIToken struct {
  4. Bytes []byte
  5. }
  6. func (token APIToken) String() string {
  7. return base58.Encode(token.Bytes)
  8. }